Expand distribution list automatically

  • Thread starter Thread starter melon
  • Start date Start date
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?
 
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
-
 
Back
Top