WD: WinWord: Blank Lines Are Not Suppressed in Merge

Last reviewed: February 5, 1998
Article ID: Q77982
The information in this article applies to:
  • Microsoft Word for Windows versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SYMPTOMS

In Word for Windows, if you try to suppress a blank line in a mail merge document containing a field that may or may not contain data, and a paragraph mark follows the field in the merge document, Word suppresses the blank line. However, if a newline character follows the field, the blank line is not suppressed.

If the field does not have the keyword MERGEFIELD, the line will also not be suppressed when there is no data for the field. For example:

   {MERGEFIELD first}
   {last}
   Hello World!

If the "last" field does not have any data in it, the blank line will be printed. If the "first" field does not contain data, the blank line will be suppressed.

MORE INFORMATION

The Mail Merge command (Print Merge, in Word 2.x) includes the option to automatically suppress blank lines created by empty data fields, including the blank line created by a linefeed. This feature allows you to preserve the option to include a blank line after a field that may or may not contain data.

When you set up labels using the Maillabl.dot template in Word 2.x or Word 6.x, you should always select New Paragraph rather than New Line in the Layout Mailing Labels dialog box. This ensures that Word can suppress blank lines.

The Maillabl.dot is not intended for use in Word 7.0 or Word 97.

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 661-664


KBCategory:
KBSubcategory: kbmerge
Additional query words: 2.0 winword2 7.0 8.0 word95 word97
winword
word8 word7 word6
Keywords : kbmerge kbprint kbualink97
Version : 2.x 6.0 6.0a 6.0c 7.0 7.0a
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.