MailMergeFields Members (Word)

A collection of MailMergeField objects that represent the mail merge related fields in a document.

Methods

Name

Description

Add

Returns a MailMergeField object that represents a mail merge field added to the data source document.

AddAsk

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

AddFillIn

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

AddIf

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

AddMergeRec

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

AddMergeSeq

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

AddNext

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

AddNextIf

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

AddSet

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

AddSkipIf

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

Item

Returns an individual MailMergeField object in a collection.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of mail merge fields in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified MailMergeFields object.