MoveOrCopyRuleAction object (Outlook)

Represents an action that moves or copies a message.

Remarks

MoveOrCopyRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a CopyToFolder property and a MoveToFolder property. Each of these properties always returns a MoveOrCopyRuleAction object. MoveOrCopyRuleAction.ActionType distinguishes between the two action types. If the rule has an enabled rule action that copies or moves a message to the specified folder, then the corresponding MoveOrCopyRuleAction.Enabled would be True.

For more information on specifying rule actions, see Specify Rule Actions.

Properties

Name
ActionType
Application
Class
Enabled
Folder
Parent
Session

See also

Outlook Object Model Reference

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.