Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook VBA - A distribution List with only name and emails

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
Manually I can create an Outlook distribution list consisting of members not from the Contacts folder. Those members are only pairs of name and email address.

I just could not figure out how to do that using VBA. The distribution list object has an AddMember method, which adds an Recipient object to the list. However, the Recipient object can only be created from an existing member in Contacts. If I have to do that, I will end up with hundreds of new contacts in my Contacts folder and I do not need them at all.

Any suggestions?
 
You should ask your question over in the following forum, in order to get the best possible answers:
forum707

--

"If to err is human, then I must be some kind of human!" -Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top