|
-
Aug 15th, 2005, 06:15 AM
#1
[RESOLVED] What Is The .InitDir Equivalent In Word VBA
I have a piece of VBA code (that I got from here) which opens up Word's SaveAs dialog box and blanks out the name of the file so that the user must type in a new file name. The document is a template and I don't want them overlaying it once it gets its Bookmarks populated with data sent to it from my VB screen.
All of that works fine. I submitted my code to our QA department last Thursday, and got back a bug sheet this morning. One of the items on it was that the SaveAs dialog opened in the App.Path of the application (which it is supposed to), and since the Word document is displayed there, there is nothing to prevent the user from simply selecting it as the filename, thus overlaying the template. So, my new spec is to open the SaveAs dialog defaulted to the root of C:\
I know how to do that with a CommonDialog control, but not the Word SaveAs dialog.
What is the equivlent to .InitDir in Word VBA?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|