Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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! |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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! |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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! |
#4
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" 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! . |
#5
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" 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! . |
#6
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" wrote in message ... 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" 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! . |
#7
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" wrote in message ... 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" 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! . |
#8
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" wrote in message ... 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" 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! . . |
#9
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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" wrote in message ... 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" 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! . . |
#10
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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. -- Enjoy, Tony www.WordArticles.com "KaiserClaw" wrote in message ... 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" wrote in message ... 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" 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! . . |
#11
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Template path
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. -- Enjoy, Tony www.WordArticles.com "KaiserClaw" wrote in message ... 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" wrote in message ... 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" 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! . . |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Template with filename/path in the header | Microsoft Word Help | |||
Template path - Policy | Microsoft Word Help | |||
Word custom template UNC path problem | Microsoft Word Help | |||
automatically changing the path to an attached document template? | Microsoft Word Help | |||
Template path in TOOLS/Templates and Add-Ins | Microsoft Word Help |