Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

Attached template : orginal name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nuyttens Xavier - 06 Apr 2005 11:13 GMT
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
Andra - 06 Apr 2005 14:38 GMT
version of Word? Actual code?

> Hi,
>
[quoted text clipped - 5 lines]
> thanks in advance
> Xavier
Nuyttens Xavier - 06 Apr 2005 20:10 GMT
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

> version of Word? Actual code?
>
[quoted text clipped - 9 lines]
>> thanks in advance
>> Xavier
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.