Template path

K

KaiserClaw

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!
 
T

Tony Jollans

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).
 
K

KaiserClaw

Thank´s Tony!

But... It doesn´t work. I made a dummy template. The path in "work.doc"
looks like this: \\SRV1\Avd\Templates\Upp.doc ??

I made a dummy template named Upp.dot and Upp.doc in the work.doc-folder but
it still takes forever to open..

UH!
 
T

Tony Jollans

Well, it is possible there are other references to network files within your
document, but, first, ...

I am not sure what you mean by the path being ...Upp.doc - your attached
template cannot be a .doc (document) file. If your template is really called
this then please come back (it is possible, but highly unusual); if not can
you tell me exactly what you do have.
 
K

KaiserClaw

No, it´s just this path.. If i remove the path, leaving it blank, the
document loads and opens directly.. I don´t know why it´s a doc-file attached
as a template..
However I´m satisfied if I just can remove the path in all 1000 documents.
 
T

Tony Jollans

If you really have a template called Upp.doc, then you need to create a
template called Upp.doc in the folder along with your document. The way to
do this is to create a real template (saving it in Word as a .dot template)
and then to rename it as Upp.doc (replying Yes to the prompt about changing
extensions).

That said, if you have this very unusual situation, you may have something
else odd as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top