MoveOrCopyRuleAction.Folder property (Outlook)

Returns or sets a Folder object that represents the folder to which the rule moves or copies the message. Read/write.

Syntax

expression. Folder

expression A variable that represents a MoveOrCopyRuleAction object.

Remarks

If no folder has been assigned to the move or copy rule action, this property is Null (Nothing in Visual Basic).

This property returns an error if the specified folder cannot serve as a target folder for the copy or move operation. For example, the folder is a search folder, is read-only, or the user does not have the required permissions to move or copy messages to it.

See also

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