Major Events ------------------ Form ----------------
Initialice. **********
run before you load or display the UserForm Activate
. ********
runs when the form is displayed. QueryClose
----------
runs before downloading the form
Terminate
--------- Runs after downloading the form
* The first event to be executed using the method show the initialice ..
For example ... this macro sub abrir_formulario
Userform1.Show
End sub
Desencadenera Userform1 Initialize event Private Sub
UserForm_Initialize ()
Msgbox "starting" End Sub
y. .. This macro download the form ff events triggered the
Sub Close () Unload UserForm1
End sub
1.QueryClose
2.Terminate
Private Sub
UserForm_QueryClose (Cancel As Integer, CloseMode As Integer) Msgbox
"I'm going"
End Sub Private Sub
UserForm_Terminate () End Sub