In excel I have a combobox from the control toolbox menu named 'H1_1'
I have an event which runs from Private Sub H1_1_gotfocus()
What is the correct syntax to capture the object name?
Eg this doesn't work
thank you
os
I have an event which runs from Private Sub H1_1_gotfocus()
What is the correct syntax to capture the object name?
Eg this doesn't work
Code:
Private Sub H1_1_gotfocus()
MsgBox (screen.ActiveControl.Name)
end sub
thank you
os