Exit Sub

J

Jeff

Hi,

I use "Exit Sub" to exit a sub procedure. How can you exit the entire
string of precedures?

I have Sub Macro1() - calls Sub Macro2 - calls Sub Macro3.

If I am in Macro3 and want to program to stop running I have to pass an
"exit switch" all the way to Macro1. Is there a faster way to do this?

Thanks for your help.
 
B

Bob Phillips

I suppose that you call just stop it all

End

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
J

Jeff

Wow its just that simple -

I'm surprised I've never seen that before from my readings - I also could'nt
find anything when I searched online.
 

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