This documentation is archived and is not being maintained.

MailMergeField Members (Word)

Office 2010

Represents a single mail merge field in a document. The MailMergeDataField object is a member of the MailMergeDataFields collection. The MailMergeDataFields collection includes all the mail merge related fields in a document.

Name

Description

Copy

Copies the specified mail merge field to the Clipboard.

Cut

Removes the specified mail merge field from the document and moves it to the Clipboard.

Delete

Deletes the specified mail merge field.

Select

Selects the specified mail merge field.

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Code

Returns a Range object that represents a field's code. Read/write.

Creator

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

Locked

True if the specified field is locked. Read/write Boolean.

Next

Returns the next mail merge field in the collection of mail merge fields. Read-only.

Parent

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

Previous

Returns the previous mail merge field in the collection of mail merge fields. Read-only.

Type

Returns the field type. Read-only WdFieldType.

Show: