|
-
Mar 8th, 2000, 05:24 AM
#1
Thread Starter
Addicted Member
My program uses automation to load a template word file into MSWord. In vb code the syntax is
<code>
Set wdApp = CreateObject("word.application")
wdApp.Documents.Open (c:\MyTempFile.dot)
</code>
In this way, the Opened file name is MyTempFile, when user tries to save it , it overwrites the template file. Anyway to Open the template file into a default file "document1"?
Or is there a way to setup file save path from VB code using macro?
thanks for your help?
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
|