MailMergeField Object Members

Word Developer Reference

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.

Methods

  Name Description
Bb257635.methods(en-us,office.12).gif Copy Copies the specified mail merge field to the Clipboard.
Bb257635.methods(en-us,office.12).gif Cut Removes the specified mail merge field from the document and moves it to the Clipboard.
Bb257635.methods(en-us,office.12).gif Delete Deletes the specified mail merge field.
Bb257635.methods(en-us,office.12).gif Select Selects the specified mail merge field.

Properties

  Name Description
Bb257635.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257635.properties(en-us,office.12).gif Code Returns a Range object that represents a field's code. Read/write.
Bb257635.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257635.properties(en-us,office.12).gif Locked True if the specified field is locked. Read/write Boolean.
Bb257635.properties(en-us,office.12).gif Next Returns the next mail merge field in the collection of mail merge fields. Read-only.
Bb257635.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified MailMergeField object.
Bb257635.properties(en-us,office.12).gif Previous Returns the previous mail merge field in the collection of mail merge fields. Read-only.
Bb257635.properties(en-us,office.12).gif Type Returns the field type. Read-only WdFieldType.