Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a Procedure and a UserForm. On the UserForm is the Button "Cancel". When I click this button I would like to quit the UserForm AND stop running the other procedure. Sub test() ' Some Code Call UserForm1 ' Some more Code <-- Do not run when quit UserForm End Sub Unfortunately this doesn't work: Private Sub cmbCancel_Click() Unload Me Exit Sub End Sub What can I do to really leave both? Thank you for helping me. Maria |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling a procedure in a procedure | Excel Programming | |||
Opening a UserForm causes a crash in the Exit procedure (Which is never called) | Excel Programming | |||
VBA question - calling Procedure from userform | Excel Programming | |||
Passing Userform as an argument to a procedure | Excel Programming |