drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and thanks in advance!
I have like 25/30 ToggleButton_Change events on 1 WorkSheet.
eg:
ToggleButton1_Change
ToggleButton2_Change
ToggleButton3_Change
ToggleButton4_Change and so on.
is there any way to know to which ToogleButton it's been attached the
Private Sub ToggleButton9_Change() events????
kind of:
I have like 25/30 ToggleButton_Change events on 1 WorkSheet.
eg:
ToggleButton1_Change
ToggleButton2_Change
ToggleButton3_Change
ToggleButton4_Change and so on.
is there any way to know to which ToogleButton it's been attached the
Private Sub ToggleButton9_Change() events????
kind of:
Code:
Private Sub ToggleButton9_Change()
Debug.Print Application.Caller ???
Debug.Print ToggleButton9.Name 'Work's Fine but I have to use some thing more generic
'to use it in 25/30 ToggleButtons
End Sub