Below is a simple error handler that I usually wrap most of my sub code in.
Is it possible to have this error handler called without hard-coding it into every sub? - so all my sub code runs in an error-handling wrapper automatically.
Thanks
Melt
Is it possible to have this error handler called without hard-coding it into every sub? - so all my sub code runs in an error-handling wrapper automatically.
Thanks
Melt
Code:
On Error GoTo Error_Handler
'Run code here
Exit_Handler_Click:
Exit Sub
Error_Handler:
MsgBox Err.Description
Resume Exit_Handler_Click