MailMergeFields.AddNext(Range) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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).