Getting address book

S

Salim Afþar

Hi,
How can I get user lists and other properties of users with VBA?
Thanks a lot,
Salim
 
K

Ken Slovak - [MVP - Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top