Set startup path: wdStartupPath : Options « Application « VBA / Excel / Access / Word

Home
VBA / Excel / Access / Word
1.Access
2.Application
3.Data Type
4.Data Type Functions
5.Date Functions
6.Excel
7.File Path
8.Forms
9.Language Basics
10.Math Functions
11.Outlook
12.PowerPoint
13.String Functions
14.Windows API
15.Word
16.XML
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
VBA / Excel / Access / Word » Application » Options 
Set startup path: wdStartupPath
 
Sub pathDemo18()
    Options.DefaultFilePath(wdStartupPath"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 document path: wdDocumentsPath
10.Set tools path: wdToolsPath
11.Set Graphics Filters path: wdGraphicsFiltersPath
12.Set the user templates path and workgroup templates path:
java2s.com  |  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.