Accessing Outlook Address Book Groups

RichO

Registered Yoozer
Local time
Yesterday, 20:00
Joined
Jan 14, 2004
Messages
1,036
I have come to a roadblock in the project I am working on:

I used a piece of code I found on this forum to access e-mail addresses stored in an Outlook address book. This works. The code finds the actual names and e-mail addresses. BUT, if the names and addresses I want are stored in a group, I can't figure out how to get them. The code finds the name of the group but not the information within.

In the code I found: oaeAddresses.Item(iCounter).Name returns the name of the contact and oaeAddresses.Item(iCounter).Address returns the e-mail address. When it encounters a group name, Name returns the group name and Address is null.

Does anyone know how to access the information within these groups?

Thanks for your help.
 

Users who are viewing this thread

Back
Top Bottom