Worksheet.EnableFormatConditionsCalculation Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property EnableFormatConditionsCalculation As Boolean
'Usage
Dim instance As Worksheet 
Dim value As Boolean 

value = instance.EnableFormatConditionsCalculation

instance.EnableFormatConditionsCalculation = value
public bool EnableFormatConditionsCalculation { get; set; }
public:
property bool EnableFormatConditionsCalculation {
    bool get ();
    void set (bool value);
}
public function get EnableFormatConditionsCalculation () : boolean 
public function set EnableFormatConditionsCalculation (value : boolean)

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

Worksheet Class

Worksheet Members

Microsoft.Office.Tools.Excel Namespace