Page 1 of 1

I can't get sheet tabcolor

Posted: Thu Jul 18, 2019 1:05 pm
by ykarapinar
I can't get the sheet tabcolor. It always return the same number (4026531840)

Code: Select all

  XLSReadWriteII51.FileName:='C:\XLSRWII.xlsx';
  XLSReadWriteII51.Read;
  Label1.Font.Color:=XLSReadWriteII51.Sheets[0].TabColor;

Re: I can't get sheet tabcolor

Posted: Wed Aug 07, 2019 11:33 am
by larsa
Hello

Will fix this in the next update.

As a workaround, use this instead:

Code: Select all

Cl := XLS[0].Xc12Sheet.SheetPr.TabColor.ARGB;