MailAddressFieldName Property

Applies To

MailMerge object.

Description

Returns or sets the name of the field that contains electronic mail addresses that are used when the mail merge destination is electronic mail. Read/write String.

See Also

Destination property, MailSubject property.

Example

This example merges the document named "Form Letter.doc" with it's attached data document and sends the results to the electronic mail addresses stored in the Email merge field.

With Documents("Form Letter.doc").MailMerge
    .MailAddressFieldName = "Email"
    .MailSubject = "Amazing offer"
    .Destination = wdSendToEmail
    .Execute
End With