GetErrorString Method

Returns the error string that corresponds to the specified error number.

Syntax

object.GetErrorString(errcode)

Properties

The GetErrorString method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

errcode

Long. Returns the error code generated from a method call and/or property setting.

Return Value

String. The text string associated with the specified error code.

 

Example

Applies To