Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
change button text color
Hiya. Have a workbook with a commandbutton called "split". The caption,
likewise, is "split" I need some vba code to change the caption's font color from black to gray. When I record a macro and change the ForeColor property of the button, it only records "ActiveSheet.Shapes("split").Select" and nothing else. TIA, Martin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
change button text color
Hi Martin
try something like this: ActiveSheet.Shapes("split").DrawingObject.Font.Col orIndex = 15 Thanks "Martin Just" wrote: Hiya. Have a workbook with a commandbutton called "split". The caption, likewise, is "split" I need some vba code to change the caption's font color from black to gray. When I record a macro and change the ForeColor property of the button, it only records "ActiveSheet.Shapes("split").Select" and nothing else. TIA, Martin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change color of command button | Excel Discussion (Misc queries) | |||
Button or key to conditionally change text foreground color? | New Users to Excel | |||
Button or key to conditionally change text foreground color? | New Users to Excel | |||
Button or key to conditionally change text foreground color? | New Users to Excel | |||
How do you change button color by moving over it? | Excel Programming |