This documentation is archived and is not being maintained.

Error property

Error property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example Applies to

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

Version added



intRet = object.Error


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


Required. An expression that returns a Cell object.


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.