Mail Merge: Blank Lines Not Suppressed in Included Document

Last reviewed: February 5, 1998
Article ID: Q117338
6.00 6.00a 6.00c WINDOWS kbusage buglist6.00

The information in this article applies to:

  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SYMPTOMS

If you include a document that contains MERGEFIELD fields in your mail merge main document, Word for Windows does not suppress blank lines in the included document. (To include a document, insert an INCLUDETEXT field or choose File from the Insert menu, select the file, select the Link To File option, and then choose OK.)

In other words, the Don't Print Blank Lines When Data Fields Are Empty option has no effect on the MERGEFIELD fields in an included document.

STATUS

We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

Create a conditional IF statement in the original document that will suppress blank lines when the data fields are empty, as in the following example

   {Mergefield Name}<p>
   {Mergefield Address} {if {mergefield Address2} <> "" "<p>
   {mergefield Address2}"}<p>
   {Mergefield City}, {Mergefield State} {Mergefield Zip}

where <p> represents a paragraph mark.

REFERENCES

"Microsoft Word User's Guide," version 6.0, pages 694, 701-702


KBCategory: kbusage
KBSubcategory: kbfield kbmerge

Additional reference words: 6.00 6.00a suppressed 6.00c word6
winword unsuppressed empty extra
Keywords : kbfield kbmerge
Version : 6.00 6.00a 6.00c
Platform : WINDOWS


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 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.