Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.