Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Applies to

BoundObjectFrame Object

FormatCondition Object

Page Object

CheckBox Object

ListBox Object

SubForm Object

ComboBox Object

ObjectFrame Object

TabControl Collection

CommandButton Object

OptionButton Object

TextBox Object

CustomControl Object

OptionGroup Object

ToggleButton Object

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 for Applications (VBA) code.

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 under Font on the Design tab (in Design view) or the Format tab (in Layout view).

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×