S Salim Afþar Aug 15, 2003 #1 Hi, How can I get user lists and other properties of users with VBA? Thanks a lot, Salim
K Ken Slovak - [MVP - Outlook] Aug 15, 2003 #2 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
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