MailMerge.Execute Method (Word)

Performs the specified mail merge operation.


expression. Execute( _Pause_ )

expression Required. A variable that represents a 'MailMerge' object.


Name Required/Optional Data Type Description
Pause Optional Variant True for Microsoft Word pause and display a troubleshooting dialog box if a mail merge error is found. False to report errors in a new document.


This example executes a mail merge if the active document is a main document with an attached data source.

Set myMerge = ActiveDocument.MailMerge 
If myMerge.State = wdMainAndDataSource Then MyMerge.Execute

See also

MailMerge Object