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         https://msdn.microsoft.com/en-us/library/aa164027(v=office.10) Applies to

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.

Show: