Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Fill Color - any way to know what it's set to?
I wrote a little VBA macro. I want it to fill in alternating rows with the
currently selected fill color, whatever that may be. The overriding objective is simply that the user (maybe just me) be able to select a color and then use it for this alternating row fill. There doesn't seem to any way to specify the current fill color. I have to either specify an RGB value or a color index number. Is there a way to obtain the active fill color? If not, is there a control I can put on a form that will automatically ask the user which color to use? Thanks, Colin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Fill Color - any way to know what it's set to?
Colin,
Visit http://www.j-walk.com/ss/excel/tips/tip49.htm for a working technique. HTH, Bernie MS Excel MVP "Colin Higbie" wrote in message ... I wrote a little VBA macro. I want it to fill in alternating rows with the currently selected fill color, whatever that may be. The overriding objective is simply that the user (maybe just me) be able to select a color and then use it for this alternating row fill. There doesn't seem to any way to specify the current fill color. I have to either specify an RGB value or a color index number. Is there a way to obtain the active fill color? If not, is there a control I can put on a form that will automatically ask the user which color to use? Thanks, Colin |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Fill Color - any way to know what it's set to?
Looks great! Thanks.
I do think there ought to be a way to get at the active color (you don't have re-select a color every time you click on the Fill button), but this is the next best thing. Thanks again, Colin "Bernie Deitrick" <deitbe @ consumer dot org wrote in message ... Colin, Visit http://www.j-walk.com/ss/excel/tips/tip49.htm for a working technique. HTH, Bernie MS Excel MVP "Colin Higbie" wrote in message ... I wrote a little VBA macro. I want it to fill in alternating rows with the currently selected fill color, whatever that may be. The overriding objective is simply that the user (maybe just me) be able to select a color and then use it for this alternating row fill. There doesn't seem to any way to specify the current fill color. I have to either specify an RGB value or a color index number. Is there a way to obtain the active fill color? If not, is there a control I can put on a form that will automatically ask the user which color to use? Thanks, Colin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
fill color and font color icons do not work in excel | Excel Discussion (Misc queries) | |||
color fill button is not adding color to my spread sheet | Excel Worksheet Functions | |||
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 |