Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 2003. I'm using VBA's graphics methods to draw a large area on
the screen that is not exactly square. I then fill this area with a solid RGB color. No pattern or transparency or anything, just a solid beige color. Sometimes the area appears with the color I want, and sometimes it's way too light, almost white. I can't figure out how to fix this. Any ideas? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe have a serious talk with your VGA card? <g
"Lucky" wrote in message ... Excel 2003. I'm using VBA's graphics methods to draw a large area on the screen that is not exactly square. I then fill this area with a solid RGB color. No pattern or transparency or anything, just a solid beige color. Sometimes the area appears with the color I want, and sometimes it's way too light, almost white. I can't figure out how to fix this. Any ideas? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
XL2003 has a limited color palette (56 distinct color slots I think) - if
you specifiy a color which isn't on the palette Excel will "automagically" map it to the nearest palette color. Only way around this is if you know up-front which exact colors you need: then you can modify the workbook's color palette to make sure it includes them. Tim "Lucky" wrote in message ... Excel 2003. I'm using VBA's graphics methods to draw a large area on the screen that is not exactly square. I then fill this area with a solid RGB color. No pattern or transparency or anything, just a solid beige color. Sometimes the area appears with the color I want, and sometimes it's way too light, almost white. I can't figure out how to fix this. Any ideas? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sounds like you have drawn a Freeform, or some Shape at least. Unlike cells
and charts (in Excel 2003 and earlier) Shapes can be formatted to accept any RGB colour, eg Dim shp As Shape Set shp = ActiveSheet.Shapes("Freeform 1") ' < change name shp.Fill.ForeColor.RGB = RGB(25, 150, 225) ' unlikely to need the following but just in case shp.Fill.Solid shp.Fill.Transparency = 0 shp.ThreeD.Visible = msoFalse Regards, Peter T "Lucky" wrote in message ... Excel 2003. I'm using VBA's graphics methods to draw a large area on the screen that is not exactly square. I then fill this area with a solid RGB color. No pattern or transparency or anything, just a solid beige color. Sometimes the area appears with the color I want, and sometimes it's way too light, almost white. I can't figure out how to fix this. Any ideas? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just to follow this up, I had added a smaller area within an adjoining
area that was white. Changing the color of the smaller area to beige like the big area somehow fixed the problem. I don't quite understand what happened, but thought I'd add this in for the benefit of others who might experience a similar problem. Anyway, thanks to those who replied. Lucky |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match TextBox Back Color to Cell Fill Color | Excel Programming | |||
change fill color of a range of cells based on color of a cell? | Excel Programming | |||
My fill color and font color do not work in Excel Std Edition 2003 | Excel Discussion (Misc queries) | |||
Excel 2003 will not display color fonts or color fill cells | Excel Worksheet Functions | |||
My excel 2003 wont let me fill cells with color or color the tabs. | New Users to Excel |