Exit ALL Subs?

G

G

This is probably an easy question, but can't seem to find the answer. I
want to cancel ALL public and private subs on an IF THEN statement.
Basically, I'm calling a PUBLIC Function (which runs a public sub) from a
Private Sub. depending on certain criteria from the Public Sub, I want to
exit the Private Sub (also).

Is there a command for this?

Thanks, in advance, for your help.

G
 
A

Allen Browne

No.

Use the return value from the function (or one of the arguments passed to
it.) Test the value after calling the sub, and exit if appropriate.
 

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

Top