WD98: How to Suppress Blank Lines During Merge

Last reviewed: February 3, 1998
Article ID: Q179635
The information in this article applies to:
  • Microsoft Word 98 Macintosh Edition

SUMMARY

During mail merges in Microsoft Word 98 Macintosh Edition, you may want to remove blank lines from the main document if no information is available for that line.

MORE INFORMATION

Frequently in mail merges involving addresses, there is a second line for the street address, which is normally used for a suite or apartment number. In order to close the "gap" in the address when no data exists for that merge field, make sure you do not place any spaces, punctuation, or anything else except merge fields on that second line. If there is anything else on that line, that line will appear in all merges.

The mail merge feature evaluates each line as the merge is performed. If there is any text on the line, that line appears in the merge result. If there is no text on the line, but there is a merge field, it checks to see if there is any data for the merge field. If there is no data for the merge field, it does not create that line in the merge result.

To change this feature setting, follow these steps:

NOTE: You must be in the mail merge Main (form) document to change the setting for the merge.

  1. On the Tools menu, click Mail Merge.

  2. In the Mail Merge Helper dialog box, click Merge.

    NOTE: You must have already selected the main document and data source for the merge.

  3. In the Merge dialog box, under When Merging Records, click either:

          "Don't print blank lines when data fields are empty."
    

           -or-
    

          "Print blank lines when data fields are empty."
    

  4. Click close in the Merge dialog box, and then click Close in the Mail Merge Helper.

    NOTE: If you made no changes in the Merge dialog box, the Close button is not available. Click Cancel instead.

REFERENCES

For more information about blank lines in mail merges, click the Office Assistant, type "Troubleshoot mail merge," click Search, click to view "Troubleshoot mail merge," and then click "Blank lines are showing in the merged documents."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Word Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q120802
   TITLE     : Office: How to Add/Remove a Single Office
               Program or Component


Additional query words:
Keywords : kbmerge macword98
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.