|
-
Feb 28th, 2002, 10:47 AM
#1
Thread Starter
New Member
Exiting outer subs
I have a sub, which calls a sub, which calls a sub (i.e. 3 levels). If an error occurs in the level 3 sub, the error handler exits the inside/level 3 sub, but the rest of the program continues....I want the entire thing to shut down, rather than just exiting the inside/level 3 sub, because the nature of the error requires the user to fix an excel file causing the error and run the entire thing again.
Is there a way for an inner sub to send a message to all outer subs to shut down after an error occurs in the inner sub, rather than continue running the outer sub(s)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|