Share via


Enabled Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

You can use the Enabled property to set or return the status of the conditional format in the FormatCondition object. Read/write Boolean.

expression.Enabled

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Enabled property setting is a value that indicates whether the conditional format is enabled or disabled. True enables the conditional format. False disables the conditional format. The default is True.

The Enabled property is available only by using Visual Basic.

When the Enabled property is True, the conditional format can be displayed in the Conditional Formatting dialog box. The Conditional Formatting dialog box is available by clicking Conditional Formatting on the Format menu.