Bewerken

Delen via


Worksheet.EnableFormatConditionsCalculation property (Excel)

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

Syntax

expression.EnableFormatConditionsCalculation

expression A variable that represents a Worksheet object.

Remarks

When set to True (default), evaluation of conditional formats occurs automatically as needed. When set to False, conditional formats are not 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 VBA programmers to configure a rule completely before evaluating it. This is particularly useful when condition is applied over a large range because performance can be slow in these cases.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.