This documentation is archived and is not being maintained.

_Worksheet.EnableFormatConditionsCalculation Property

Returns or sets if conditional formats will occur automatically as needed. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

bool EnableFormatConditionsCalculation { get; set; }

Property Value

Type: System.Boolean
Boolean

When set to True (default), evaluation of conditional formats will occur automatically as needed. When set to False, conditional formats will not be re-evaluated. Any previously applied conditional formatting will still be visible, but it will not update as cell values or AppliesTo ranges are changed.

The purpose of this flag is to allow programmers to configure a rule completely before evaluating it. This is particularly useful when condition is applied over a large range as performance can be slow in these cases.

Show: