Recalculates all dynamic properties in the current document.
Syntax
HRESULT recalc( VARIANT_BOOL fForce );
Parameters
- fForce
- Address of a VARIANT Boolean structure that returns all dynamic properties in the current document. If set to VARIANT_TRUE, this method will evaluate all expressions in the document. If set to VARIANT_FALSE, the default, only those expressions that reference properties that have changed since the last recalculation will be recalculated.
Return Value
Returns S_OK if the function was bound successfully, or an error code otherwise.