locked
Mail Merge leads to inconsistently lost Headers and Footers RRS feed

  • Question

  • Hi,  I have a couple of mail merge templates which include headers and footers.  When I merge the simple one page template the header/footer is retained in the merged document, when I merge the second template (with more than one page) the headers appear briefly then disappear.  Can I confirm are the contents of Headers and Footers supposed to be faithfully copied across into merged documents?

    Dan

    Tuesday, August 23, 2016 3:53 PM

Answers

  • I assume that you are doing a letter Mail Merge.

    In those, headers and footers are retained. If you are merging to a document rather than to the printer, a new Section is created for each record being merged.

    Sections / Headers and Footers in Microsoft Word

    Every section of a Word document has three headers and three footers coded even if none are displayed. Header/Footer Settings Recap

    Look at your templates in draft view with formatting marks displayed. Look for section breaks. They may be the source of your problems. Showing non-printing formatting marks in Microsoft Word


    Charles Kenyon Madison, WI


    • Edited by Charles Kenyon Tuesday, August 23, 2016 7:48 PM
    • Marked as answer by Steve Fan Friday, September 2, 2016 9:00 AM
    Tuesday, August 23, 2016 7:44 PM
  • The answer depends on the merge type. Mergefields in the mailmerge main document headers don't work when doing anything other than a letter merge. They also don't work properly when inserted into textboxes, etc. the number of pages in a mailmerge main document doesn't affect this, though what you see in the output may be affected by your page setup and/or whether your document has Section breaks for which the headers have the 'same as previous' attribute set.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by Steve Fan Monday, August 29, 2016 9:54 AM
    • Marked as answer by Steve Fan Friday, September 2, 2016 9:00 AM
    Wednesday, August 24, 2016 3:07 AM

All replies

  • I assume that you are doing a letter Mail Merge.

    In those, headers and footers are retained. If you are merging to a document rather than to the printer, a new Section is created for each record being merged.

    Sections / Headers and Footers in Microsoft Word

    Every section of a Word document has three headers and three footers coded even if none are displayed. Header/Footer Settings Recap

    Look at your templates in draft view with formatting marks displayed. Look for section breaks. They may be the source of your problems. Showing non-printing formatting marks in Microsoft Word


    Charles Kenyon Madison, WI


    • Edited by Charles Kenyon Tuesday, August 23, 2016 7:48 PM
    • Marked as answer by Steve Fan Friday, September 2, 2016 9:00 AM
    Tuesday, August 23, 2016 7:44 PM
  • The answer depends on the merge type. Mergefields in the mailmerge main document headers don't work when doing anything other than a letter merge. They also don't work properly when inserted into textboxes, etc. the number of pages in a mailmerge main document doesn't affect this, though what you see in the output may be affected by your page setup and/or whether your document has Section breaks for which the headers have the 'same as previous' attribute set.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by Steve Fan Monday, August 29, 2016 9:54 AM
    • Marked as answer by Steve Fan Friday, September 2, 2016 9:00 AM
    Wednesday, August 24, 2016 3:07 AM