MailMergeFields.AddMergeSeq(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 MERGESEQ field to a mail merge main document. Returns a MailMergeField object.
public:
Microsoft::Office::Interop::Word::MailMergeField ^ AddMergeSeq(Microsoft::Office::Interop::Word::Range ^ Range);
public Microsoft.Office.Interop.Word.MailMergeField AddMergeSeq (Microsoft.Office.Interop.Word.Range Range);
abstract member AddMergeSeq : Microsoft.Office.Interop.Word.Range -> Microsoft.Office.Interop.Word.MailMergeField
Public Function AddMergeSeq (Range As Range) As MailMergeField
Parameters
Returns
Remarks
A MERGESEQ field inserts a number based on the sequence in which data records are merged (for example, when record 50 of records 50 to 100 is merged, MERGESEQ inserts the number 1).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for