Macro to Discontinue Header & Footer in Doc

K

Katrina

Hi

I'm trying to create a macro that will go to the end of a document, insert a section break, then remove the previous header/footer from the new section, but it's removing the header/footer from the previous section and adding to the new section. Any ideas on how I do this?
 
C

Charles Kenyon

What, exactly, are you trying to do? Avoid printing the footer on the last
page? If so, there is a far easier way that doesn't involve adding sections.
Take a look at <URL:
http://www.mvps.org/word/FAQs/Numbering/PageNumbering.htm> for ideas on
using IF fields combined with Page and NumPages fields.


--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

Katrina said:
Hi

I'm trying to create a macro that will go to the end of a document, insert
a section break, then remove the previous header/footer from the new
section, but it's removing the header/footer from the previous section and
adding to the new section. Any ideas on how I do this?
 

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