R
Rod
I am writing an error handler. All code has the error handler:
TheFactory_Error:
If Err.Number <> 0 Then
Call TheFactoryErrorHandler
Resume Next
End If
TheFactoryErrorHandler then manages the error.
I want to pass to TheFactoryErrorHandler the name of the function, sub, etc.
that has caused the error. How do I identify the name of the currently
running function to pass to the error handler (Call
TheFactoryErrorHandler(OffendingFunction) )?
TheFactory_Error:
If Err.Number <> 0 Then
Call TheFactoryErrorHandler
Resume Next
End If
TheFactoryErrorHandler then manages the error.
I want to pass to TheFactoryErrorHandler the name of the function, sub, etc.
that has caused the error. How do I identify the name of the currently
running function to pass to the error handler (Call
TheFactoryErrorHandler(OffendingFunction) )?