View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Venkatachalam Venkatachalam is offline
external usenet poster
 
Posts: 7
Default Problem in setting Cell Interior Color filling.

Hi,
I am calling Excel from my Application. The code was developed in Borland
C++ and I am making OLE call to set properties to the Excel.

When I say
Cell.OlePropertyGet("Interior").OlePropertySet("Co lor", RGB(164,224,224));
it assigns some other color, the RGB value of the assigned color is RGB(153,
204, 255).
I dont want the user of this application to change the color form excel and
every thing should happen from my code only.

Any help is appreciated.

Thanks in advance.

With Regards
Venkat