ChangeFileOpenDirectory Method Example

This example changes the folder in which Word searches for documents, and then opens a file named "Test.doc."

ChangeFileOpenDirectory "C:\My Documents"
Documents.Open FileName:="Test.doc"

This example changes the folder in which Word searches for documents, and then displays the Open dialog box.

ChangeFileOpenDirectory "C:\"
Dialogs(wdDialogFileOpen).Show