UseAddressBook Method Example

This example creates a new main document that uses the Personal Address Book as its data source.

Set myDoc = Documents.Add
With myDoc.MailMerge
    .MainDocumentType = wdFormLetters
    .UseAddressBook Type:="pab"
End With