GetErrorCode() As Long
Application object
Returns the current error code.
Related topics
The Application object