Headers and footers from newly attached template

S

Stefan Blom

Attaching a template will only give you access to the styles of that
template, not to headers and footers.

Try the following: Create a document based on your PageNumber.dot
template. That document has the headers and footers of the template
(obviously). Use Insert>File to bring in the document which doesn't
have headers and footers.

For more information, see:

How is it possible to copy an entire document into another document
without bringing across the header and footer?
http://word.mvps.org/faqs/formatting/PasteWithoutSectionInfo.htm

Working with sections
http://word.mvps.org/faqs/formatting/WorkWithSections.htm

--
Stefan Blom
Microsoft Word MVP


in message
news:gBUnf.149092$0l5.144651@dukeread06...
 
E

Ed

Normal.dot has no page numbering assigned, and no headers or footers.

PageNumber.dot has it all (and it also has some other important text in the
headers and footers that I want).

I start a document with Normal.dot as the template.

I 'change my mind' about headers and footers, and now want to attach
PageNumber.dot to the document.

I wrote the following code and attached it to a button

ActiveDocument.AttachedTemplate = PageNumber.dot

Word flashes and obviously has made the connection (and it shows properly in
the Addins and Templates screen), but no headers and footers exist.

Is there a way to call in the headers and footers of an external template
once the document has been started?

Thanks.

Ed
 
E

Ed

Ahah! Makes perfect sense. Thanks.

Ed


Stefan Blom said:
Attaching a template will only give you access to the styles of that
template, not to headers and footers.

Try the following: Create a document based on your PageNumber.dot
template. That document has the headers and footers of the template
(obviously). Use Insert>File to bring in the document which doesn't
have headers and footers.

For more information, see:

How is it possible to copy an entire document into another document
without bringing across the header and footer?
http://word.mvps.org/faqs/formatting/PasteWithoutSectionInfo.htm

Working with sections
http://word.mvps.org/faqs/formatting/WorkWithSections.htm

--
Stefan Blom
Microsoft Word MVP


in message
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top