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 / July 2006

Tip: Looking for answers? Try searching our database.

Question about template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David - 31 Jul 2006 08:45 GMT
Hi all,

I've tried to attach my custom template to the existing document. My purpose
is to apply the the header and footer of my custom template in my existing
document.

I use

"document.set_AttachedTemplate(ref o);"

to attach my custom template to the existing document but it seems doesn't
work. Is anyone know how to do it?

Thanks
Jezebel - 31 Jul 2006 09:06 GMT
Attaching a template does not touch the content of the document, only the
styles. If you need to re-do the headers and footers, you need to create a
new document from the template, then copy the content from the old.

> Hi all,
>
[quoted text clipped - 11 lines]
>
> Thanks
 
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.