WD: WinWord: Blank Lines Are Not Suppressed in Merge

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, 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

Additional query words: 2.0 winword2 7.0 8.0 word95 word97 winword word8 word7 word6

Keywords : kbprint kbualink97 kbmerge
Version : WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type :


Last Reviewed: October 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.