I have a fairly large VBA project built in MSAccess. I was wondering if there was a way I could code a global error handler without having to write On Error Statements in each procedure.
If you have a main procedure which calls all the other ones in your project, then I guess you just have to place your global error handler in the main procedure.
As far as I know, once an error occurs, an error handler is activated. If not found in the current procedure, then an error handler is activated in the parent procedure and so on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.