I know how to use:
ON ERROR GOTO LINE
DO SOMETHING
LINE:
DEAL WITH ERROR
But this works in the current sub or function. What if I want to use ( ON ERROR GOTO LINE ) to watch errors anywhere in the whole project for all the forms in the project ? is there like a global error handling ? how can it be done?
Thanks
ON ERROR GOTO LINE
DO SOMETHING
LINE:
DEAL WITH ERROR
But this works in the current sub or function. What if I want to use ( ON ERROR GOTO LINE ) to watch errors anywhere in the whole project for all the forms in the project ? is there like a global error handling ? how can it be done?
Thanks