This documentation is archived and is not being maintained.

FormulaForce[U] property

FormulaForce[U] 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

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

Version added



object.FormulaForce = stringExpression


Required. An expression that returns a Cell object.


Required String. The new formula for the cell.


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.