Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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) "Jeff" wrote in message ... 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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. "Bob Phillips" wrote: 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) "Jeff" wrote in message ... 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run when exit | Excel Worksheet Functions | |||
exit object | Excel Discussion (Misc queries) | |||
Exit via macro only? | Excel Discussion (Misc queries) | |||
on exit macro | Excel Discussion (Misc queries) | |||
Save & Exit | Excel Worksheet Functions |