AddMergeRec Method Example
This example inserts text and a MERGEREC field at the beginning of the active document.
Set myRange = ActiveDocument.Range(Start:=0, End:=0) ActiveDocument.MailMerge.Fields.AddMergeRec Range:=myRange myRange.InsertAfter "Record Number: "