Microsoft KB Archive/193201

= WD98: Using MergeRec to Number Mail Merge Records =

Article ID: 193201

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q193201





SUMMARY
The MERGEREC field can be used to automatically number the records in a Microsoft Word print merge document.



MORE INFORMATION
You can use the MERGEREC field in the main document of a mail merge in Word to automatically indicate which record is being merged. This field is updated during the mail merge and inserts the number of the current record into the merged document.

To use the MERGEREC field:
 * 1) Press COMMAND+F9 to insert field braces {} in the main document where the merged record number is to be placed.
 * 2) Type the word MERGEREC. (This is not case sensitive.)
 * 3) Perform the mail merge as usual.

NOTE: If you are merging multiple records into a table (for example, to print labels), you should place a MERGEREC field in each cell of the table following the NEXT or NEXTIF field. The NEXT or NEXTIF field will increment the result of the MERGEREC field and number each record in the table.

Keywords: kbhowto kbmerge kbfield KB193201

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.