UserForm Events

  • Thread starter Thread starter Nigel
  • Start date Start date
N

Nigel

Hi All

I have two user forms that can be toggled by using userform.show and
userform.hide. I require both to remain in memory so I do not unload them
after using userform.show.

My question - is there an event that is triggered when a userform is either
shown or hidden? Or is there a way I can create this with code?

TIA
Cheers
Nigel
 
Maybe you can use this Nigel

Private Sub UserForm_Activate()

End Sub

Private Sub UserForm_Deactivate()

End Sub
 
Back
Top