Colour

Post Reply
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

Colour

Post by acwoo1 »

Hi

oSheet:Cells( 5, 10 ):Value="*ABC"

How to say "*" in red and "ABC" in black.

Thanks

ACWoo
Using FWH + bcc582
User avatar
Massimo Linossi
Posts: 474
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Colour

Post by Massimo Linossi »

oSheet:Cells(5,10):Characters(1,1):Font:Color := CLR_HRED
oSheet:Cells(5,10):Characters(2,3):Font:Color := CLR_BLACK
acwoo1
Posts: 159
Joined: Tue Nov 10, 2009 10:56 am

Re: Colour

Post by acwoo1 »

Thanks

It works.

Regards

ACWoo
Post Reply