WD: Mail Merge: Blank Lines Not Suppressed in Last Line in TableLast reviewed: February 18, 1998Article ID: Q105914 |
The information in this article applies to:
SYMPTOMSThe Microsoft Word Mail Merge helper does not suppress blank lines in View Merged Data if the blank line occurs on the last line in a table cell in the main document. The blank lines are correctly suppressed when the document is merged to either a new document or directly to a printer.
WORKAROUNDTo work around this problem, use either of the following methods.
Method 1Include the last paragraph mark inside of a conditional by replacing the mergefields with the following:
{MERGEFIELD Name}{if {MERGEFIELD Number} <> "" "[paragraph mark] {MERGEFIELD Number}"}This workaround suppresses the blank line in View Merged Data. One drawback is that the blank line continues to display if the last two MERGEFIELDS in a table cell are empty. Also, the field name for any fields inside an IF statement display as the field results in both views.
Method 2Word suppresses the blank line if the MERGEFIELDS are followed by a paragraph mark rather than the end of cell marker. To force suppression of the blank lines in View Merged Data, follow these steps:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIn the following example, Word correctly suppresses the blank line for the first record but not for the second record when you click the View Merged Data button on the Mail Merge toolbar. Main Document:
|-----------------------------------| | {Mergefield Name}<paragraph> | | {Mergefield Number}<end of cell> | |-----------------------------------|Data File: Name,Number ,88 Word User,
|
Additional query words: suppression 8.0 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |