Set reference to Personal Address Book

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you set a reference to a personal address book?

Is there anything similar to
Set oContactsFolder = oNameSpace.GetDefaultFolder(olFolderContacts)

Thank you
 
Dim oAddressList As Outlook.AddressList
Set oAddressList = oOutlook.AddressLists("Personal Address Book")

It could only be read that way and then you'd need to access the
AddressEntries collection of the list and get each AddressEntry object. A
PAB is not a contacts folder. PAB's are also deprecated and aren't even
supported in Outlook 2007.
 
Back
Top