Visual Basic for Applications Reference

Description Property Example

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

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