Page 1 of 1

XlsReadwriteII5 FillPatternForeColor use

Posted: Sat Dec 05, 2015 5:01 am
by cakmakb
Hi

XlsReadwriteII4 use like this

XLSReadWriteII4[0].Range.ItemsRef[Params[1] + ':' + Params[2]].FillPatternForeColor := xcYellow;

What i can use XlsReadWriteII5

XLSReadWriteII5[0].Range.ItemsRef[Params[1] + ':' + Params[2]].FillPatternForeColor := xcYellow; //Error [DCC Error] Unt_MainForm.pas(4295): E2010 Incompatible types: 'Cardinal' and 'TXc12IndexColor'

Burhan Cakmak

Re: XlsReadwriteII5 FillPatternForeColor use

Posted: Wed Dec 23, 2015 2:46 pm
by KenWhite
You really should learn to read source code.

Code: Select all

XLS[0].Cells[2,3].FillPatternForeColorRGB := $AFAFAF;