Folder.MoveTo Method
Outlook Developer Reference |
Moves a folder to the specified destination folder.
Version Information
Version Added: Outlook 2007
Syntax
expression.MoveTo(DestinationFolder)
expression A variable that represents a Folder object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
DestinationFolder | Required | Folder | The destination Folder for the Folder that is being moved. |
Example
This Visual Basic for Applications (VBA) example uses the MoveTo method to move the "My Test Contacts" folder in the default Contacts folder to the Inbox folder.
Visual Basic for Applications |
---|
|
See Also