A.7. Err Object

Clear Method

Resets the current Err object

Description Property

Returns or sets the description of the current error

HelpContext Property

Returns or sets the help file ID for the current error

HelpFile Property

Returns or sets the name and path of the help file relating to the current error

LastDLLError Property

Returns the error number from an error raised with a system API DLL

Number Property

Returns or sets the current error code

Raise Method

Generates a user-defined error

Source Property

Returns or sets the source of an error

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.