Cell.ResultFromIntForce Property

Visio Automation Reference

Sets the value of a cell to an integer value, even if the cell's formula is protected with the GUARD function. Read/write.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.ResultFromIntForce(UnitsNameOrCode)

expression   A variable that represents a Cell object.

Parameters

Name Required/Optional Data Type Description
UnitsNameOrCode Required Variant The units to use when setting the cell's value.

Return Value
Long

Remarks

Use the ResultFromIntForce property to set a cell's value even if the cell's formula is protected with a GUARD function. Otherwise, it is identical in behavior to the ResultFromInt property.

Setting the ResultFromIntForce property is similar to setting a cell's ResultForce property. The difference is that the ResultFromIntForce property accepts an integer for the value of the cell, whereas the ResultForce property accepts a floating point number.

See Also