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

Re: Headers and footers from newly attached template by Stefan

Stefan
Wed Dec 14 07:12:53 CST 2005

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


"Ed" wrote in message
news:gBUnf.149092$0l5.144651@dukeread06...
> 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
>
>








Re: Headers and footers from newly attached template by Ed

Ed
Wed Dec 14 08:40:54 CST 2005

Ahah! Makes perfect sense. Thanks.

Ed


"Stefan Blom" <no.spam@please.xyz> wrote in message
news:eN24YALAGHA.2156@TK2MSFTNGP11.phx.gbl...
> 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
>
>
> "Ed" wrote in message
> news:gBUnf.149092$0l5.144651@dukeread06...
>> 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
>>
>>
>
>
>
>
>
>
>



Re: Headers and footers from newly attached template by Stefan

Stefan
Wed Dec 14 08:05:45 CST 2005

You are welcome.

--
Stefan Blom
Microsoft Word MVP


"Ed" wrote in message
news:rtVnf.149165$0l5.22070@dukeread06...
> Ahah! Makes perfect sense. Thanks.
>
> Ed
>
>
> "Stefan Blom" <no.spam@please.xyz> wrote in message
> news:eN24YALAGHA.2156@TK2MSFTNGP11.phx.gbl...
> > 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
> >
> >
> > "Ed" wrote in message
> > news:gBUnf.149092$0l5.144651@dukeread06...
> >> 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
> >>
> >>
> >
> >
> >
> >
> >
> >
> >
>
>