K
Kirk
I have several routines that use the Try-Catch-EndTry method. When an
error occurs in one of these routines, I display it like this:
Catch ex As Exception
MsgBox("Error #" & Err.Number & ": " & Err.Description)
Exit Function
End Try
For some reason, no matter what the error is, the Err.Number is ALWAYS
"5". I have generated different errors and while the Description
changes, the error number never does.
I am sure I am missing something simple & I would appreciate any
suggestions.
Thanx!
error occurs in one of these routines, I display it like this:
Catch ex As Exception
MsgBox("Error #" & Err.Number & ": " & Err.Description)
Exit Function
End Try
For some reason, no matter what the error is, the Err.Number is ALWAYS
"5". I have generated different errors and while the Description
changes, the error number never does.
I am sure I am missing something simple & I would appreciate any
suggestions.
Thanx!