Template no longer available

J

John Yarrall

I have a document with an attached template. When the document is moved to a
different computer at home the template is in a different path.
The UI (Tools>Templates and AddIns) shows the original template and path.
Clicking Organizer gives the error "This document template does not exist"
so Word is aware of the original template name.

ActiveDocument.AttachedTemplate returns Normal.dot.

Is there a way of getting the orignal template name?

Regards
John Yarrall
 
C

Cindy M -WordMVP-

Hi John,
I have a document with an attached template. When the document is moved to a
different computer at home the template is in a different path.
The UI (Tools>Templates and AddIns) shows the original template and path.
Clicking Organizer gives the error "This document template does not exist"
so Word is aware of the original template name.

ActiveDocument.AttachedTemplate returns Normal.dot.

Is there a way of getting the orignal template name?
Note that this works in relation to the currently active document, you can't
do it for just any document that's open in Word.

Dialogs(wdDialogToolsTemplates).Template

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
J

John Yarrall

Thanks Cindy

I must get more familiar with the builtin dialog objects.

John Yarrall
 

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