R
Raph
Hi,
In Word 2003 with Windows XP I used to get the name of the attached
template with the command ActiveDocument.AttachedTemplate (ex.
Letter123.dot). The template would basically be on a fileserver in a
multi-user environment.
As we migrated to Windows 7 and Word 2010, the command
ActiveDocument.AttachedTemplate started to return something that looks
like temporary file names (ex. 2BGD34RF.dotm). I assume that Word
downloads the template (Letter.dotm) from the fileserver on the local
network to the user's temporary directory where a random name is
assigned to the template and ActiveDocument.AttachedTemplate return
the temporary file name.
Does anybody know if this reasoning is correct and if so does anybody
happen to know how to return the base filename of the template (in
this example Letter.dotm) without for example using a constant
variable in the template?
Thank you in advance
Raph.
In Word 2003 with Windows XP I used to get the name of the attached
template with the command ActiveDocument.AttachedTemplate (ex.
Letter123.dot). The template would basically be on a fileserver in a
multi-user environment.
As we migrated to Windows 7 and Word 2010, the command
ActiveDocument.AttachedTemplate started to return something that looks
like temporary file names (ex. 2BGD34RF.dotm). I assume that Word
downloads the template (Letter.dotm) from the fileserver on the local
network to the user's temporary directory where a random name is
assigned to the template and ActiveDocument.AttachedTemplate return
the temporary file name.
Does anybody know if this reasoning is correct and if so does anybody
happen to know how to return the base filename of the template (in
this example Letter.dotm) without for example using a constant
variable in the template?
Thank you in advance
Raph.