With a userform, I'd like to get the name of the clicked control automatically.
Private Sub LeftHeaderBox2_Click()
Set HeaderBox = Me.LeftHeaderBox2: Call FillProposalHeaderBox(HeaderBox)
' What can I replace 'Me.LeftHeaderBox2' with?
' Would think 'Me.ActiveControl' -- but 'Msgbox Me.ActiveControl.Name' names the frame that the
' label is in.
The current situation is only inconvenient because I have tons of clickable labels in my userforms.
Thanks for your help.