Article ID: 116360 - Last Review: August 16, 2005 - Revision: 1.1 Blank Lines Not Suppressed During Conditional Mail MergeThis article was previously published under Q116360 On This PageSYMPTOMS
When you perform a mail merge in Word for Windows, blank lines may not be
suppressed when you use one of the standard conditional statements (using
IF fields) in your mail merge main document. In both of the following
examples, which contain conditional (IF field) statements, Word 6.0 does
not suppress the blank line when the ADDRESS2 MERGEFIELD is empty (by
contrast, these statements correctly suppress the blank line in Word 2.x
for Windows):
Example 1Example 2
suppress* and blank and spaces and conditional and
STATUS
We are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
WORKAROUND
In both of the methods below, [Press ENTER] means you should press ENTER to
insert a paragraph mark (hard carriage return) inside the True Text element
of the conditional statement. Do not press ENTER elsewhere; instead, allow
normal line wrapping to occur.
The paragraph mark in the True Text element places the ADDRESS2 MERGEFIELD on a separate line only when it is nonblank (true result). Otherwise, when the ADDRESS2 MERGEFIELD is blank (false result), Word does not insert the paragraph mark. If you mistakenly omit the paragraph mark in the True Text element, Word displays and prints the blank space. The paragraph mark inside the True Text element is the only paragraph mark required in the conditional (IF) statement. Method 1Method 2For more information about conditional statements, double-click the Help button on the Standard toolbar, and then type "if field" (without the quotation marks). REFERENCES
"Microsoft Word User's Guide," version 6.0, pages 692, 694, 697-702
APPLIES TO
| Article Translations
|

Back to the top
