For ErrNum = 1 To 1000
ErrMsg = Error(ErrNum)
If Err.Number > 0 Or ErrMsg = "Application-defined or object-defined error" Then
Else
Debug.Print CStr(ErrNum) & ": " & ErrMsg
End If
Next ErrNum
Debug.Print "---------------------------------------"
Debug.Print "Finished Error Message Print"
End Sub
Terry L. Broadbent - Salt Lake City, UT
Home of the 2002 Winter Olympics (Feb 8-24)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.