Microsoft KB Archive/105914: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
Line 83: | Line 83: | ||
== MORE INFORMATION == | == MORE INFORMATION == | ||
NOTE: In the following examples, <P | NOTE: In the following examples, <P> represents a paragraph mark and [] represents a label (table) end-of-cell marker.<br /> | ||
<br /> | <br /> | ||
In the following example, Word will not suppress blank lines correctly when the result of a MERGEFIELD is blank: | In the following example, Word will not suppress blank lines correctly when the result of a MERGEFIELD is blank: | ||
<pre class="codesample"> {MERGEFIELD Name}<P | <pre class="codesample"> {MERGEFIELD Name}<P> | ||
{MERGEFIELD Number}[] | {MERGEFIELD Number}[] | ||
</pre> | </pre> | ||
In the following example, Word will suppress blank lines correctly when the result of a MERGEFIELD is blank: | In the following example, Word will suppress blank lines correctly when the result of a MERGEFIELD is blank: | ||
<pre class="codesample"> {MERGEFIELD Name}<P | <pre class="codesample"> {MERGEFIELD Name}<P> | ||
{MERGEFIELD Number}<P | {MERGEFIELD Number}<P> | ||
[] | [] | ||
</pre> | </pre> |
Latest revision as of 17:44, 20 July 2020
Article ID: 105914
Article Last Modified on 8/16/2005
APPLIES TO
- Microsoft Word 6.0 Standard Edition
- Microsoft Word 6.0a
- Microsoft Word 6.0c
- Microsoft Word 6.0 for Macintosh
- Microsoft Word 6.01 for Macintosh
- Microsoft Word 6.01 for Macintosh
- Microsoft Word 95 Standard Edition
- Microsoft Word 95a
This article was previously published under Q105914
SYMPTOMS
In a label mail merge main document, Word may not suppress blank lines when you View Merged Data (on the Mail Merge toolbar, click View Merged Data).
NOTE: The blank lines are correctly suppressed when the document is merged to a new document or merged to printer.
CAUSE
When a MERGEFIELD is followed by a end-of-cell marker in labels or a Word table, Word cannot suppress a blank line when the MERGEFIELD is blank. However, Word will suppress a blank line when the MERGEFIELD is followed by a paragraph mark.
NOTE: To view paragraph marks and end-of-cell markers, do one of the following:
- On the Tools menu, click Options. On the View tab, click to select the All check box (listed under "Non-printing characters") and then click OK. -or-
- On the Standard toolbar, click Show/Hide.
WORKAROUND
To allow Word to suppress blank lines when you use View Merged Data, in your mail merge main document, position the insertion point immediately after the MERGEFIELD in a label or table cell and press ENTER to create a paragraph mark. Do this for each of the labels or table cells that contain MERGEFIELDS.
MORE INFORMATION
NOTE: In the following examples, represents a paragraph mark and [] represents a label (table) end-of-cell marker.
In the following example, Word will not suppress blank lines correctly when the result of a MERGEFIELD is blank:
{MERGEFIELD Name}<P> {MERGEFIELD Number}[]
In the following example, Word will suppress blank lines correctly when the result of a MERGEFIELD is blank:
{MERGEFIELD Name}<P> {MERGEFIELD Number}<P> []
Additional query words: suppression
Keywords: kbmerge kbprb KB105914