Hi - I'm trying to figure out how to run a line of code if one of three buttons was selected in a shown UserForm1.
This is what I have so far:
Private Sub CommandButton1_Click()
If UserForm1.CommandButton1.TakeFocus******* Then
Do This
ElseIf UserForm1.CommandButton2.TakeFocus******* Then...