Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Expand distribution list automatically (http://www.outlookbanter.com/outlook-using-forms/82934-expand-distribution-list-automatically.html)

melon December 9th 08 04:38 PM

Expand distribution list automatically
 
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?

Dmitry Streblechenko December 9th 08 11:03 PM

Expand distribution list 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
-
"melon" wrote in message
...
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?





All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com