Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In xl2007, I created a simple macro to hide or unhide columns [Columns("H:L").EntireColumn.Hidden = Not Columns("H:L").EntireColumn.Hidden]. I inserted a "Button - Form Control" to invoke it. It works fine. The text on the button is "Show Rate". I was wondering if there was a way to make the text change, depending on the state of the columns, so if they were hidden, the button text would read "Show Rate", and if the were unhidden, the button text would read "Hide Rate. As i said, the macro works fine...I was just wondering if this was possible, and if so, how?
Thanks, Tonso |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
passing a parameter from a button invoked VBA macro? | Excel Programming | |||
Use Macro To Change Which Macro Assigned To Command Button | Excel Discussion (Misc queries) | |||
VBA to change Button Macro assignment | Excel Programming | |||
Change caption on a macro button | Excel Worksheet Functions | |||
Customized Menu Macro with Argument invoked twice | Excel Programming |