Microsoft KB Archive/176691

= Text Incorrectly Appears in Merged Headers and Footers =

Article ID: 176691

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Word 2001 for Mac
 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q176691



SYMPTOMS
When you merge a multiple-section document to a new document, the first section of each record after the first record shows the wrong text in the header and footer. The first section in the new document is blank, but the first section of every record thereafter shows the text of the header or footer of the preceding section.

This behavior does not occur when you merge directly to the printer.



CAUSE
When you merge to a new document, Word inserts a section break between records. In a document with more than one section, if a section has nothing typed in its header or footer, Word reprints the text of the header and footer of the preceding section. Because the first section of the second record (and all subsequent records) is blank, Word copies the header and footer of the last section.

When you merge directly to the printer, it performs the merge correctly. Word sends each section directly to the printer rather than adding them all to one document, and, therefore it does not copy the text of the last section into the first section.



RESOLUTION
To work around this problem, use any of the following methods.

Method 1: Insert a Blank Space in the Header or Footer
To do this, follow these steps:


 * 1) Position the insertion point into the first section of the main document and then click Header And Footer on the View menu.
 * 2) Enter a space or other nonprinting character in the blank header.
 * 3) Click Close.

This allows the first section's header of every record to remain void of text.

Method 2: Change the Section Formatting
To do this, follow these steps:


 * 1) Position the insertion point into the main document, and click Document on the Format menu.
 * 2) Click the Layout tab, select Different First Page, and then click OK.

Method 3: Merge Directly to the Printer
Merge the document directly to the printer instead of merging to a new document.



Example
If the mail merge main document looks like this   |--|   |--|   |--| | blank   |   |  header  |   |  header  | | 1st page |  |          |   |          | | header  |   |          |   |          | |         |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   | footer   |   |  footer  |   |  footer  | |--|  |--|   |--|      page 1         page 2         page 3 you would expect a two-record Merge To New Document to look like this:   |--|   |--|   |--| | blank   |   |  header  |   |  header  | | 1st page |  |          |   |          | | header  |   |          |   |          |     Record 1 |         |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   | footer   |   | footer   |   | footer   | |--|  |--|   |--|      page 1         page 2         page 3

|--|  |--|   |--|   |  blank   |   |  header  |   |  header  | | 1st page |  |          |   |          | | header  |   |          |   |          |     Record 2 |         |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   | footer   |   |  footer  |   | footer   | |--|  |--|   |--|      page 4         page 5         page 6 Instead, what appears in the merged document resembles the following:   |--|   |--|   |--| | blank   |   |  header  |   |  header  | | 1st page |  |          |   |          | | header  |   |          |   |          |     Record 1 |         |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   | footer   |   | footer   |   | footer   | |--|  |--|   |--|      page 1         page 2         page 3

|--|  |--|   |--|   |  header  |   |  header  |   |  header  | |         |   |          |   |          |   |          |   |          |   |          |     Record 2 |         |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   |          |   | footer   |   |  footer  |   | footer   | |--|  |--|   |--|      page 4        page 5          page 6 For additional information, please see the following article in the Microsoft Knowledge Base:

135988 WD:Text Incorrectly Appears in Merged Headers and Footers

Additional query words: Additional query words: merging mmh heading page numbers mac macword WD2001KB

Keywords: kbbug kbfaq kbfix KB176691

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.