Destination Property
WdMailMergeDestination
WdMailMergeDestination can be one of these WdMailMergeDestination constants. |
wdSendToFax |
wdSendToPrinter |
wdSendToEmail |
wdSendToNewDocument |
expression.Destination
expression Required. An expression that returns one of the objects in the Applies To list.
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
Applies to | MailMerge Object
See Also | MailAddressFieldName Property | MailSubject Property | SuppressBlankLines Property