View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] ryanmhuc@yahoo.com is offline
external usenet poster
 
Posts: 4
Default Setting Background Color RGB (Always goes to closest index color)

I'm trying to set the background color of cells in excel 2003.

target.Interior.Color = RGB(228, 234, 244)

Except no matter what color I use it seems to default to the closest
index color. So the above goes to color

RGB(204, 255, 255) which is ColorIndex 20. How I can set it to a custom
RGB color?

Thanks