Edit

Share via


MailMergeFields.AddNext(Range) Method

Definition

Adds a NEXT field to a mail merge main document. Returns a MailMergeField object.

public:
 Microsoft::Office::Interop::Word::MailMergeField ^ AddNext(Microsoft::Office::Interop::Word::Range ^ Range);
public Microsoft.Office.Interop.Word.MailMergeField AddNext (Microsoft.Office.Interop.Word.Range Range);
abstract member AddNext : Microsoft.Office.Interop.Word.Range -> Microsoft.Office.Interop.Word.MailMergeField
Public Function AddNext (Range As Range) As MailMergeField

Parameters

Range
Range

Required Range object. The location for the NEXT field.

Returns

Remarks

A NEXT field advances to the next data record so that data from more than one record can be merged into the same merge document (for example, a sheet of mailing labels).

Applies to