Getting address book

  • Thread starter Thread starter Salim Afþar
  • Start date Start date
S

Salim Afþar

Hi,
How can I get user lists and other properties of users with VBA?
Thanks a lot,
Salim
 
Application.GetNameSpace("MAPI").AddressLists has all the user's
address lists (contacts, PAB, GAL, etc.). Each AddressList object
contains an AddressEntries collection and each AddressEntry object is
what you are looking for.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 
Back
Top