Attached template : orginal name

  • Thread starter Nuyttens Xavier
  • Start date
N

Nuyttens Xavier

Hi,

I use vba to change the "attached template" value of copied documents to a
new value. However, Word changes the value to "normal.dot" if it doesn't
find the template, but it stores the original value somewhere, cause you can
see it in the document, how can I find this original value through vba ?

thanks in advance
Xavier
 
N

Nuyttens Xavier

Word 2003, there's no actual code involved : If you check the template
setting in Word itself, it says the orginal file like
"c:\mydocuments\mytemplate.dot". (Even if it doesn't exist and can't be
used)
But if that template doesn't exist, the "document.Attachedtemplate.Name"
will be "normal.dot".
What I would like to know is if there is a property that stores this
original "faulty" value so I can use it to decide what the actual value has
to be.

greetings
Xavier
 
Top