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