Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I'm new to VBA and stuck on what I thought would be a simple task.
I have a worksheet with several large sections arranged vertically. Each section has a header with a button control next to it. I'd like to have the user click the button to toggle between hiding/showing several rows below it and at the same time toggle the text label of the button between Expand and Collapse. I found the button property I need to toggle (Selection.Characters.Text), but I'm not sure of the best way to declare some sort of "binary toggle" variable and then step back and forth between the two. Any advice? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Expand/Collapse Rows | Excel Worksheet Functions | |||
expand and collapse button with subtotals | Excel Discussion (Misc queries) | |||
Expand and Collapse Columns | New Users to Excel | |||
HOW CAN I COLLAPSE AND EXPAND COLUMS | Excel Discussion (Misc queries) | |||
expand/collapse row button | Excel Discussion (Misc queries) |