WD: Mail Merge Does Not Merge Hidden Character Formatting

Last reviewed: February 3, 1998
Article ID: Q116475
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for the Macintosh, versions 6.0, 6.01
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

If a Microsoft Word mail merge data document contains hidden text formatting, the text appears without the hidden format after Word performs the merge. In Word 2.x for Windows and Word 5.x for the Macintosh, the field that contains the hidden text is ignored.

CAUSE

This behavior is by design of Microsoft Word. The mail merge main document controls the formatting of text during a merge.

WORKAROUND

To work around this problem, use any of the following methods.

Method 1: Format the Merge Field in the Mail Merge Main Document as Hidden

Format the merge field in the mail merge main document as hidden. When the merge is performed, the result of this field is hidden text.

Method 2: Remove the Word "mergefield" from the Merge Field

Remove the word "mergefield" from the merge field in the main document. To do this, begin by displaying field codes (press ALT+F9). Delete the word "mergefield" from within the field code. Ignore the "Error! Bookmark not defined" message and perform the merge. The result after the merge is hidden text.

Method 3: Replace the MERGEFIELD Field with a REF Field

Turn on field codes (by pressing ALT+F9), replace the word "mergefield" with the word "ref" (without the quotation marks) in the field code. The merge will generate hidden text for this field.

Method 2 and method 3 do not permit you to suppress blank lines when a field in the data file is empty. Method 1 automatically suppresses the blank lines.


Additional query words: mail merge hidden format character font
Keywords : kbmerge macword ntword winword word6 word7 word8 word95 word97 wordnt macword98
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a,97; MACINTOSH:6.0,6.0.1,6.0.1a,98
Platform : MACINTOSH WINDOWS
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.