×
英语
很抱歉。本文没有你的语言版本。

Enabled Property

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).

扩展你的 Office 技能
了解培训
抢先获得新功能
加入 Office 预览体验计划

此信息是否有帮助?

谢谢您的反馈!

谢谢你的反馈! 可能需要转接到 Office 支持专员。

×