Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello, I have toggle buttons on a spreadsheet that opens hidden spreadsheets when not in use. These sheets are just for correction purposes, so to keep from having so many spreadsheets on the bottom bar, I hide them. Is it possible to change the title in the button when the button is depressed? I want the button to show DISPLAY when out and HIDE when depressed. Any help would be appreciated. Larry -- keithl816 ------------------------------------------------------------------------ keithl816's Profile: http://www.excelforum.com/member.php...o&userid=21287 View this thread: http://www.excelforum.com/showthread...hreadid=486980 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Insert this code with the appropriate name changes into the click event
of your button. Private Sub ToggleButton1_Click() MsgBox ToggleButton1.Value If ToggleButton1.Value = True Then ToggleButton1.Caption = "Hide" Else ToggleButton1.Caption = "Display" End If End Sub |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi twox4s, Thanks for the reply. That worked great!!!! Thanks again. Larry -- keithl816 ------------------------------------------------------------------------ keithl816's Profile: http://www.excelforum.com/member.php...o&userid=21287 View this thread: http://www.excelforum.com/showthread...hreadid=486980 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
toggle button text color | Excel Discussion (Misc queries) | |||
Toggle Button | Excel Discussion (Misc queries) | |||
Place the caption of a toggle button into a cell | Excel Worksheet Functions | |||
Command Button VBA code | Excel Discussion (Misc queries) | |||
Toggle betwen "editing" and "pushing" a button in excel | Excel Discussion (Misc queries) |