The information in this article applies to:
SYMPTOMSIf a Microsoft Word mail merge data document contains hidden text formatting, the text appears without the hidden format after Word performs the merge. CAUSEThis behavior occurs because the mail merge main document controls the formatting of text during a merge operation. WORKAROUNDTo work around this behavior, use any of the following methods. Method 1: Format the Merge Field in the Mail Merge Main Document as HiddenFormat 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 FieldRemove 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 themessage and perform the merge. The result after the merge is hidden text. Method 3: Replace the MERGEFIELD Field with a REF FieldTurn on field codes (by pressing ALT+F9), and replace the word "mergefield" with the word ref 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 |
Last Reviewed: January 24, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |