How does the ‘Err’ object look like ?
Error handling that evolve around the various On Error.. statements are referred to as unstructured error handling. The build in object Err is used in this type of error handling. This object has several properties and methods as listed below:
Properties:
Description: a short description of the error
HelpContext: context ID for the help topic associated with the error
HelpFile: fully qualified file name if any
Number: Number associated with the error
Source: a string that specifies the object that generated the error.
Method:
Clear: Clears the set values of all properties of the error object.
Raise: Generates a runtime error and sets the properties of the Err object to the values supplied in the method call
