MailMerge.Destination property (Word)

Returns or sets the destination of the mail merge results. Read/write WdMailMergeDestination.

Syntax

expression.Destination

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

Example

This example sends the results of a mail merge operation to a new document.

Dim mmTemp As MailMerge 
 
Set mmTemp = ActiveDocument.MailMerge 
 
If mmTemp.State = wdMainAndDataSource Then 
 mmTemp.Destination = wdSendToNewDocument 
 mmTemp.Execute 
End If

See also

MailMerge Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.