Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
exit sub
how do i get out of all subs upon a certain event?
sub1() call sub2 'more code here--i do not want sub1 to get this far unless sub2 runs all the way through end sub sub2() if 1=1 then exit sub 'i want this to quit sub1 as well as sub2 end if end sub there may be more embedded subs, so i don't think i can specify which sub to exit (if that is even possible). thanks, mike allen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Exit Sub | Excel Discussion (Misc queries) | |||
Run when exit | Excel Worksheet Functions | |||
Exit via macro only? | Excel Discussion (Misc queries) | |||
If a called sub exit, how to the caller exit right away? | Excel Programming | |||
Exit Sub? | Excel Programming |