GetErrorCode() As Long

Application object

Returns the current error code.

The Application object