Hi Guys
i am trying to figure out what happened to the code that it resets the err info after the Msgbox so i cannot log the detailed info in ErrorHandler Function anymore. Any thoughts ?
I see it happens right after the MsgBox as a Debug.Print will also show the object reset
Regards
Joseph
i am trying to figure out what happened to the code that it resets the err info after the Msgbox so i cannot log the detailed info in ErrorHandler Function anymore. Any thoughts ?
I see it happens right after the MsgBox as a Debug.Print will also show the object reset
Code:
MsgBox "Error: " & Err.Number & vbCrLf & "Error Line: " & vbCrLf & "Decription: " & Err.Description & vbCrLf & "Procedure: cmdInvoice_Click of VBA Document Form_Master" & vbCrLf & "Err Source: " & Err.Source
ErrorHandler "Error " & Err.Number & " Error Line " & Erl & " (" & Err.Description & ") in procedure cmdInvoice_Click of VBA Document Form_Master" & vbCrLf & "Err Source " & Err.Source
Regards
Joseph