|
-
Jul 15th, 2011, 01:38 PM
#1
Thread Starter
Member
[RESOLVED] [Excel VBA] Error handling
I have a "Main" macro and in it I have On Error GoTo ErrorHandler, and at the end of the sub I have ErrorHandler: with what I want to go there.
What happens if I call another macro, "Secondary", inside of "Main", and an error occurs inside "Secondary"? Does the error handling in "Main" work? Or, do I need to put it inside "Secondary" as well?
Or, is it possible to put it outside of any sub, so that it works for all subs in a specific module? I only have one module in the workbook.
Thanks
Tags for this Thread
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
|