Description

This property returns and sets a descriptive string associated with an error.

Syntax

object.Description [= stringexpression]

Parameters

object
Always the Err object.
stringexpression
String expression that contains a description of the error.

Remarks

This property consists of a short description of the error. Use this property to alert a user to an error that you cannot or do not want to handle. When generating a user-defined error, assign a short description of your error to this property. If Description is not filled in, and the value of Number corresponds to a run-time error, the descriptive string associated with the error is returned.