WD: WinWord: Blank Lines Are Not Suppressed in MergeLast reviewed: February 5, 1998Article ID: Q77982 |
The information in this article applies to:
SYMPTOMSIn 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 INFORMATIONThe 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:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |