Export (0) Print
Expand All
Expand Minimize

Worksheet.EnableFormatConditionsCalculation Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that determines whether conditional formats will occur automatically.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

bool EnableFormatConditionsCalculation { get; set; }

Property Value

Type: System.Boolean
true if evaluation of conditional formats will occur automatically; otherwise, false. The default is true.

When the EnableFormatConditionsCalculation property is set to false, existing conditional formats will not be re-evaluated. Any previously applied conditional formatting will still be visible, but will not be updated as cell values or AppliesTo ranges are changed.

Set this property to true to configure a rule completely before evaluating it. This can result in a performance increase if the range over which the condition is applied is large.

© 2014 Microsoft