Expand distribution list automatically

M

melon

Right now when you manually enter a distribution list in any of the
address box, you have a little + next to it so you can expand it. How
would I do that so, upon clicking a button in my form that it will be
expanded (recursive) automatically?
 
D

Dmitry Streblechenko

You will need to recursive loop through the Recipient.AddressEntry.Members
coclletion (keep in mind that both Recipient.AddressEntry and
AddressEntry.Members can be null) and add all the items to the message
recipeints, then delete teh oriuginal recipient.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

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