# Description
{: .no_toc }

Returns or sets a **String** containing a descriptive message associated with the active error. Read/write.

Syntax:
- **Err**.**Description**
- **Err**.**Description** **=** *errorDescription*

*errorDescription*
: A **String** describing the error. When read, **Description** returns the descriptive text for the active error, or a zero-length string if no error is active.

The **Description** setting consists of a short description of the error. Use this property to alert the user to an error that the code cannot or does not handle.

When generating a user-defined error, assign a short description of the error to the **Description** property. If **Description** isn't filled in and the value of [**Number**](/tB/Modules/ErrObject/Number.md) corresponds to a built-in run-time error, the string returned by the [**Error**](/tB/Modules/Conversion/Error.md) function is placed in **Description** when the error is generated.

> [!WARNING] BETA 1045
> For a number that has no built-in message, **Raise** without a *description* leaves **Description** as an empty string, a Windows system message or `Automation error`, depending on the number, and raises no error. VBA and VB6 place `Application-defined or object-defined error` there. [**Raise**](/tB/Modules/ErrObject/Raise.md) has the table.

### Common Errors

| Error | When |
|---|---|
| [94 (`&H5E`)](/Reference/Run-time-Errors.md#94), *Invalid use of Null* | *errorDescription* is **Null** |

### Example

This example assigns a user-defined message to the **Description** property of the **Err** object.

```tb check_build
Err.Description = "It was not possible to access an object necessary " _
    & "for this operation."
```

### See Also

- [Number](/tB/Modules/ErrObject/Number.md) property
- [Source](/tB/Modules/ErrObject/Source.md) property
- [Raise](/tB/Modules/ErrObject/Raise.md) method
- [Clear](/tB/Modules/ErrObject/Clear.md) method
