Background: I'm new to Excel VBA, so please bear with me.
Issue: I have two userforms. One main userform (Userform1) and another userform (Userform2) that the user can choose to open and close.
How can I implement this?
I've searched this forum and attempted to solve it like this (but I doesn't work):
Thanks!
Issue: I have two userforms. One main userform (Userform1) and another userform (Userform2) that the user can choose to open and close.
How can I implement this?
I've searched this forum and attempted to solve it like this (but I doesn't work):
Private Sub cmdShow_Click()
I appreciate any help. If Userform1.ActiveControl Is Nothing Then
Userform2.Show
Else
Unload Userform2
End If
Thanks!