Error property

Microsoft Visio Developer Reference

Error property

See also   Example   

Gets the error code generated by the last evaluation of a cell's formula.

Version added

2.0

Syntax

intRet = object.Error

intRet

Integer. The error code from the last evaluation of the cell's formula.

object

Required. An expression that returns a Cell object.

Remarks

When you evaluate a cell's formula, an error code is generated along with the result. The Error property allows you to access this error code. Constants for valid error codes are declared by the Visio type library and begin with visError.