Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Can anyone give me a general idea of how to write code for toggle buttons, i don't have a clue where to start for when it is depressed and when it isn't, any help please, a sample simple macro or something, i want to use them to hide, or unhide sheets, Thanks, Andy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub ToggleButton1_Click()
If ToggleButton1.Value = True Then MsgBox "depressed" Else MsgBox "Not depressed" End If End Sub -- Regards, Tom Ogilvy "Momo" wrote in message ... Hello, Can anyone give me a general idea of how to write code for toggle buttons, i don't have a clue where to start for when it is depressed and when it isn't, any help please, a sample simple macro or something, i want to use them to hide, or unhide sheets, Thanks, Andy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom,
I managed to stumble through it myself by looking at a couple of other posts, but cheers all the same "Momo" wrote: Hello, Can anyone give me a general idea of how to write code for toggle buttons, i don't have a clue where to start for when it is depressed and when it isn't, any help please, a sample simple macro or something, i want to use them to hide, or unhide sheets, Thanks, Andy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Option Buttons/Radio Buttons | New Users to Excel | |||
have toggle buttons but everytime print preview buttons move | Excel Discussion (Misc queries) | |||
Stop toggle buttons in excel move from the cells after previewing | Excel Discussion (Misc queries) | |||
multiple toggle buttons | Excel Programming | |||
How can I use the Spin or Toggle buttons to change cell values | Excel Programming |