Click or drag to resize

MailMerge Methods

The MailMerge type exposes the following members.

Methods
  NameDescription
Public methodClearTemplate
Remove all MergeFields from the current document.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodCode exampleExecute(Object)
Executes a mail merge operation with specified data source.
Public methodExecute(Object, String)
Executes a mail merge operation with specified range name and data source.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMergeFieldNames
Gets a collection of mail merge field names available in the document.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveMergeFields
Removes all mail merge related fields (MergeField, MergeRec, MergeSeq, Next and If) from the document.
Public methodRemoveMergeFields(Boolean)
Removes mail merge related fields from the document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also