Rediger

Del via


RuleAction.Enabled property (Outlook)

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

Syntax

expression.Enabled

expression A variable that represents a RuleAction object.

Remarks

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

Returns an error if you attempt to enable a rule action that is supported only on a rule of type olRuleSend for a rule of type olRuleReceive, or vice versa.

See also

RuleAction Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.