The MERGESEQ field numbers each merged record in a mail merge. This number is not visible until you finish the merge. The number may be different from the value that is inserted by the MERGEREC field.

You can use the MERGESEQ field to count the number of records in your merged document. For example, the last record in a batch of form letters displays the total number of letters. You can use this total to calculate the cost of postage.

Syntax

{ MERGESEQ }

Note To see the field codes in a main document, press ALT+F9. To see field results again, press ALT+F9 a second time.

Example

Suppose that you add both a MERGEREC field and a MERGESEQ field to your main document in a mail merge. You filter a data source of 150 records down to a recipient list of 25 names. In this case, the MERGEREC values and the MERGESEQ values will both range from 1 to 25. If you remove two recipients from the merge by clearing the check box next to their names in the Mail Merge Recipients dialog box (Edit Recipient List button in the Start Mail Merge group on the Mailings tab), the MERGEREC values still range from 1 to 25, with two values missing, because the data source for the merge still consists of 25 records. However, in this case, the MERGESEQ values will now range from 1 to 23 because only 23 records are being merged.

Note Values in the MERGESEQ field are not visible in a merged document until you complete the merge.

Instructions

You can use the MERGESEQ field in a document or as part of a mail merge.

showTo use the MERGESEQ field in a document

  1. On the Insert tab, in the Text group, click Quick Parts, and then click Field.

    word ribbon image

  2. In the Field names list, select MergeSeq.
  3. Click OK.

showTo use the MERGESEQ field as part of a mail merge

While you are setting up the mail merge, do the following: