This documentation is archived and is not being maintained.

MailMerge.Destination Property

Office 2007
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.

Visual Basic for Applications
Dim mmTemp As MailMerge

Set mmTemp = ActiveDocument.MailMerge

If mmTemp.State = wdMainAndDataSource Then
    mmTemp.Destination = wdSendToNewDocument
    mmTemp.Execute
End If



Show: