S
Stuart
Sheet1 has a commandbutton. When clicked, a form containing one label, an Ok
button and a Cancel button, loads.
I cannot get the buttons to fire the events!
In sheet1 I have:
Private Sub CommandButton1_Click()
Call HandleTheForms
End Sub
In module1 I have:
Private Sub HandleTheForms()
Frm_Initial.Show
End Sub
Behind the form, I have:
Private Sub Cb1Ok_Click()
MsgBox "Success with Ok_Click"
End Sub
Private Sub Cb2Cancel_Click()
MsgBox "Success with Cancel_Click"
Exit Sub
End Sub
Help, feel like I've forgotten what little I thought I knew.
Regards.
button and a Cancel button, loads.
I cannot get the buttons to fire the events!
In sheet1 I have:
Private Sub CommandButton1_Click()
Call HandleTheForms
End Sub
In module1 I have:
Private Sub HandleTheForms()
Frm_Initial.Show
End Sub
Behind the form, I have:
Private Sub Cb1Ok_Click()
MsgBox "Success with Ok_Click"
End Sub
Private Sub Cb2Cancel_Click()
MsgBox "Success with Cancel_Click"
Exit Sub
End Sub
Help, feel like I've forgotten what little I thought I knew.
Regards.