FormulaForce[U] property

Microsoft Visio Developer Reference

FormulaForce[U] property

   Example   

Sets the formula in a Cell object, even if the formula is protected with a GUARD function.

Version added

2.0

Syntax

object.FormulaForce = stringExpression

object

Required. An expression that returns a Cell object.

stringExpression

Required String. The new formula for the cell.

Remarks

Many of the SmartShapes symbols provided with Visio have guarded cells to maintain their smart behavior. When you change the formula in a guarded cell, the shape's behavior might change in unexpected ways.

Note Beginning with Visio 2000, you can refer to Visio shapes, masters, styles, pages, rows, and layers using local and universal names. When a user names a shape, for example, the user is specifying a local name. Universal names are not visible through the user interface. As a developer, you can use universal names in a program when you don't want to change a name each time a solution is localized. Use the FormulaForce property to get or parse the formula using local syntax. Use the FormulaForceU property to get or parse the formula using universal syntax.