Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word is asking me to save the template...

Status
Not open for further replies.

SpyderMan1234

IS-IT--Management
Feb 26, 2004
35
US
I am applying a template to a new document in Word using

Documents.Add Template:="MyTemplate" _
, NewTemplate:=False, DocumentType:=0

But whenever I type some text and save and close Word, I'm asked if I want to save changes to MyTemplate. I was under the impression that using Documents.Add doesn't actually open the specified template, but instead just applies it to a new doc. Am I wrong? Why am I being prompted to save the changes made to the template and is there a way to keep this prompt from appearing?

THANKS!
 
How you access and open the template will determine if "the template opens or a new document is created based on the template"

A simple test: Close Word. Use Windows Explorer to browse to the location of the template. Double Click the template file and THAT is a sure fire way of Word creating a new "DOC" file rather than opening to edit a master "DOT" (Template) file.

If you generally browse using the Word's little explorer box to find and open documents, consider letting the file extension launch Word. In other words, use Explorer and not Word to start your session of finding and opening all files. I never open an MSOffice application first, I open the file, which launches the application for me.

~
Gene of ~
 
Hi GHTROUT. Except for one simple thing....this was a question of creating a new document and applying a template, NOT opening an existing document. If it is a newly created document...it can hardly be opened from Explorer, now can it?

Attaching a template to a new documents using Documents.Add does not open the template. You are correct.

What version are you using?
What happens when you use the AttachedTemplate method after you create a document? Does it still ask for a separate save for the template?

Gerry
 
Ha ha, you are so right...I misread. geez, I can see he was well beyond my answer now. hopefully someone will read it and say "cool"

Thanks for clearing that up before it went to far :)

~
Gene of ~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top