From: KaiserClaw on
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!
From: "Tony Jollans" My forename at my surname dot on
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" <KaiserClaw(a)discussions.microsoft.com> wrote in message
news:DABE6F8A-57DA-488C-A607-B19C855F8E3D(a)microsoft.com...
> 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!

From: KaiserClaw on
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!



"Tony Jollans" wrote:

> 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" <KaiserClaw(a)discussions.microsoft.com> wrote in message
> news:DABE6F8A-57DA-488C-A607-B19C855F8E3D(a)microsoft.com...
> > 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!
>
> .
>
From: "Tony Jollans" My forename at my surname dot on
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.

--
Enjoy,
Tony

www.WordArticles.com

"KaiserClaw" <KaiserClaw(a)discussions.microsoft.com> wrote in message
news:CBFB7975-5104-47B0-AB8D-5757EF100E1B(a)microsoft.com...
> 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!
>
>
>
> "Tony Jollans" wrote:
>
>> 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" <KaiserClaw(a)discussions.microsoft.com> wrote in message
>> news:DABE6F8A-57DA-488C-A607-B19C855F8E3D(a)microsoft.com...
>> > 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!
>>
>> .
>>

From: KaiserClaw on
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.

"Tony Jollans" wrote:

> 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.
>
> --
> Enjoy,
> Tony
>
> www.WordArticles.com
>
> "KaiserClaw" <KaiserClaw(a)discussions.microsoft.com> wrote in message
> news:CBFB7975-5104-47B0-AB8D-5757EF100E1B(a)microsoft.com...
> > 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!
> >
> >
> >
> > "Tony Jollans" wrote:
> >
> >> 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" <KaiserClaw(a)discussions.microsoft.com> wrote in message
> >> news:DABE6F8A-57DA-488C-A607-B19C855F8E3D(a)microsoft.com...
> >> > 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!
> >>
> >> .
> >>
>
> .
>