If you use :
Code: Select all
XLS[0].Cell[Col, Row].FontColor := clRed;
I think the pb is that delphi TColor constants are in BGR format and not in RGB format.
jleg.
Code: Select all
XLS[0].Cell[Col, Row].FontColor := clRed;
Code: Select all
XLS.Version := xvExcel97;
XLS.Clear(0);
Code: Select all
XLS.Sheets[i].DrawingObjects.Pictures.Clear
Code: Select all
XLS.Sheets[i].Drawing.BIFFDrawing.Pictures.Clear
Code: Select all
XLS.Sheets[i].Drawing.Clear