userform question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

greetings! i've got a macro which requires user input in the form of a
userform, consisting of combo box, and "OK" and "cancel" buttons, then takes
the selected info and continues to run code.
my question is: when the cancel button on the userform is chosen what code
will allow me to stop/exit/end the original macro? i've tried including the
name of original macro in an exit sub statement but that doesn't seem to work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top