Enabled Property [Access 2003 VBA Language Reference]

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


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


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.

Applies to | BoundObjectFrame Object | CheckBox Object | ComboBox Object | CommandButton Object | CustomControl Object | FormatCondition Object | ListBox Object | ObjectFrame Object | OptionButton Object | OptionGroup Object | Page Object | SubForm Object | TabControl Collection | TextBox Object | ToggleButton Object