Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Saving a Xlsx with Conditional formatting [9385]

$
0
0
Saving a xlsx with conditional formatting that a gradient with colors picked from the Theme Color selection throws an exception "cannot convert theme color to Color".
Changing said colors to one from the personalized or more colors category stops throwing the error.

Comments: Create a conditional formatting for color scale, pick 3 colors, set the first color to one of the colors In the template section, the other two pick them using the rgb color picker, save it, open it with closedxml and immediately save it, it should throw the error

Viewing all articles
Browse latest Browse all 1877

Trending Articles