
Originally Posted by
excelnut1954
I guess I didn't explain this well enough.
The user will click a command button in Sheet 1 to start the process.
This is in Private Sub CommandButton3_Click()
Within this Command sub, it directs the flow to UserForm 1, 2, then 3.
The Cancel button in question is in UserForm1. If the user clicks
Cancel within UserForm1, I want the macro to stop. I don't want to
exit Excel, but just to go back to Sheet 1, where the user started,
with no macro running.
******************************************
Private Sub CommandButton3_Click()
UserForm1 (this is where the cancel button is)
UserForm2
UserForm3
Code
Code
Code, etc.
End Sub
***********************************
Hope this makes it clearer.
Thanks for the help.
J.O.
Bookmarks