Set current folder path: wdCurrentFolderPath : Options « Application « VBA / Excel / Access / Word






Set current folder path: wdCurrentFolderPath

 
Sub pathDemo5()
    Options.DefaultFilePath(wdCurrentFolderPath) = "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 text cover path: wdTextConvertersPath
8.Set document path: wdDocumentsPath
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: