Reverse font color in cell (excel97, v5.10.18)

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
jleg
Posts: 11
Joined: Thu Apr 04, 2013 12:04 pm
Location: France

Reverse font color in cell (excel97, v5.10.18)

Post by jleg »

Hello Lars,

If you use :

Code: Select all

XLS[0].Cell[Col, Row].FontColor := clRed;
and export in Excel97 format, the cell font is not Red but Blue (and of course, if you put clBlue color, you get Red in the cell).
I think the pb is that delphi TColor constants are in BGR format and not in RGB format.

jleg.
Post Reply