ImportanceRuleCondition.Enabled Property (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets a Boolean that determines if the rule condition is enabled. Read/write.

expression .Enabled

expression A variable that represents an ImportanceRuleCondition object.

After you enable a rule condition, you must also save the rule by using Rules.Save so that the rule condition and its enabled state will persist beyond the current session. A rule condition is only enabled after it have been saved successfully.