Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves a specified file or folder from one location to another.
object.Move destination
The Move method syntax has these parts:
Part | Description |
---|---|
object | Required. Always the name of a File or Folder object. |
destination | Required. Destination where the file or folder is to be moved. Wildcard characters are not allowed. |
The results of the Move method on a File or Folder are identical to operations performed by using FileSystemObject.MoveFile or FileSystemObject.MoveFolder. You should note, however, that the alternative methods are capable of moving multiple files or folders.
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.