Private Sub ToggleButton1_Click()
If ToggleButton1 = True Then
'Call YourMacro1
Exit Sub
Else
'Call YourMacro2
Exit Sub
End If
End Sub
Chipmunk Wrote:
Hello, how can I execute two different macros from a single toggl
button?
Example: I press the toggle button and macro1 executes,
I press the same button again and macro2 executes,
I press the same button again and macro1 executes etc...
Thank
--
Ikaabo
-----------------------------------------------------------------------
Ikaabod's Profile:
http://www.excelforum.com/member.php...fo&userid=3337
View this thread:
http://www.excelforum.com/showthread.php?threadid=54223