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 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 methodGetMergeFieldNames Gets a collection of mail merge field names available in the document.
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.
Top
See Also