Thread: Template path
View Single Post
  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default Template path

If your documents were in Word 2007 (docx, docm) format, you could edit the
xml outside Word, but I suspect that is not the case as the example template
you quote is Word 97-2003 format. Unless you want to manipulate the Word
binary files (not something I would recommend) you are stuck with having to
open the documents in Word, so the question is how to avoid the network
delay.

When Word is opening a document, and looking for the template attached to
it, the first thing it looks for is a template with the name - but not the
path - of the attached template, in the same folder as the document. If you
put a dummy template called Template.dot (or whatever the real name is) in
the same folder as your documents, Word should open the documents without
the delay. You could, if you wanted, include autoopen code in that template
to change the path of the attached template in the document as well.

If you have lots of different templates, this is not necessarily an easy
option but, as far as I know, it is still the best one available to you
(apart from temporarily reinstating the server - or a server with the same
name).

--
Enjoy,
Tony

www.WordArticles.com

"KaiserClaw" wrote in message
news
Hi!

I have a bunch of documents with a template-path to a server
"\\Server1\Office\Section_2\Templates\Template.dot " -- one of them.

How can I replace the path to "blank" or another path?

I want something that doesn´t have to open the documents, just replace the
path.

I search google, and found a bunch of VB-scripts that doesen´t work at
all!

How can I fix this? I have 1000+ documents and its making me nuts.
It takes 5 min to open a document.

Thnx!