Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have UserForm1, that when completed, and the user clicks the OK
button, opens up UserForm2. I also have a Cancel option in UserForm1. Right now, if Cancel is clicked, the macro will still continue on to UserForm2. That's because the only code I have in the Cancel sub is to close UserForm1. I want it to stop the whole macro when Cancel is selected. What is the correct code I should enter in the Cancel sub to make the whole macro stop? Thanks, J.O. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to get userform Cancel button to invoke Exit Sub in calling macro? | New Users to Excel | |||
Workbook_BeforeClose(Cancel As Boolean) - Cancel won't work | Setting up and Configuration of Excel | |||
Cancel Macro is user selects 'cancel' at save menu | Excel Programming | |||
Cancel Button | Excel Programming | |||
Button To Cancel Macro | Excel Programming |