Destination Property
Applies To
MailMerge object.
Description
Returns or sets the destination of the mail merge results. Can be one of the following WdMailMergeDestination constants: wdSendToEmail, wdSendToFax, wdSendToNewDocument, or wdSendToPrinter. Read/write Long.
See Also
Execute method (Dialog, KeyBinding, and MailMerge objects), MailAddressFieldName property, MailSubject property, SuppressBlankLines property.
Example
This example sends the results of a mail merge operation to a new document.
Set mm = ActiveDocument.MailMerge
If mm.State = wdMainAndDataSource Then
mm.Destination = wdSendToNewDocument
mm.Execute
End If