Set document path: wdDocumentsPath : Options « Application « VBA / Excel / Access / Word






Set document path: wdDocumentsPath

 
Sub pathDemo16()
    Options.DefaultFilePath(wdDocumentsPath) = "c:\user\"
End Sub

 








Related examples in the same category

1.Set the CtrlClickHyperlinkToOpen property of the Options object to True to ensure that hyperlinks require Ctrl+clicking:
2.Turning Off Overtype
3.Set auto recover path: wdAutoRecoverPath
4.Set style galary pathwdStyleGalleryPath: wdStyleGalleryPath
5.Set border art path: wdBorderArtPath
6.Set temp file path: wdTempFilePath
7.Set current folder path: wdCurrentFolderPath
8.Set text cover path: wdTextConvertersPath
9.Set tools path: wdToolsPath
10.Set Graphics Filters path: wdGraphicsFiltersPath
11.Set startup path: wdStartupPath
12.Set the user templates path and workgroup templates path: