I know how Error Trapping works in a sub/function, but can you trap an error before it's returned to that sub funcion.
What im trying to do is build one error handler that functions for my entire project without the need to call it from every sub/function
IE :
Sub Deathtopotatoes ()
Dim Potatoe as Interger
Potatoe = 32 / 0 'divide by zero error
End Sub
Is there a GLOBAL way to grab the error ? without the need for code in the sub DeathtoPotatoes?
I know it's a hard one but you guys have impressed me inumerable times before
Another example of what im trying to do is :
Say i had 10 buttons on my form and each of these buttons calleda sub or two
i would have to implement error trapping in every buttton
This is what im trying to get around as i have over 200 buttons and b4 u ask no i'm not going to make them a control array
What im trying to do is build one error handler that functions for my entire project without the need to call it from every sub/function
IE :
Sub Deathtopotatoes ()
Dim Potatoe as Interger
Potatoe = 32 / 0 'divide by zero error
End Sub
Is there a GLOBAL way to grab the error ? without the need for code in the sub DeathtoPotatoes?
I know it's a hard one but you guys have impressed me inumerable times before
Another example of what im trying to do is :
Say i had 10 buttons on my form and each of these buttons calleda sub or two
i would have to implement error trapping in every buttton
This is what im trying to get around as i have over 200 buttons and b4 u ask no i'm not going to make them a control array