Message 1 of 2
Trap errors globally

Not applicable
06-01-2005
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Let me explain what I'm going for here.
I'm kinda "in charge" when it comes to any VBA problems/solutions, so i'm looking for a way to write a
On Error GoTo "this Sub that I wrote" anywhere in a module, that will send a email to me including the error description, number, and what sub or function was being ran when this happened.
Is there a way to do this without writing a line of code calling this up when an error occurs? Maybe something where the public Const & Vars are declared.
Be kind if this seems ridiculous.
I'm kinda "in charge" when it comes to any VBA problems/solutions, so i'm looking for a way to write a
On Error GoTo "this Sub that I wrote" anywhere in a module, that will send a email to me including the error description, number, and what sub or function was being ran when this happened.
Is there a way to do this without writing a line of code calling this up when an error occurs? Maybe something where the public Const & Vars are declared.
Be kind if this seems ridiculous.