Adding members to outlook distribution lists

Adding members to outlook distribution lists

Post by UnVwZXNoIE » Thu, 18 Mar 2010 15:32:01


I have to add members to distribution lists of outlook every one week
programatically. I checked AddressEntry,AddressEntries,AddressList objects
but no where I am finding methods or properties to add members to
distribution lists. Only I can traverse through the members and display them.
Is there any possibilty to add members to distribution list if it is possible
tell me how to do it??
 
 
 

Adding members to outlook distribution lists

Post by Michael Ba » Thu, 18 Mar 2010 16:34:04


See the DistributionList.AddMember method. Very helpful is the object
browser: press f2, then switch from <All Libraries> to Outlook.

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
< http://www.yqcomputer.com/ ;


Am Tue, 16 Mar 2010 23:32:01 -0700 schrieb Rupesh Muppala:

them.
possible

 
 
 

Adding members to outlook distribution lists

Post by UnVwZXNoIE » Thu, 18 Mar 2010 19:31:01

I am not finding DistributionList.AddMember. I opened Object Browser I not
finding OutLook in browse I am finding All Components,.NetFramework etc
etc.... can you please provide the code for doing this. I need to add members
to DistributionLists of Outlook using C# or VB.Net
 
 
 

Adding members to outlook distribution lists

Post by UnVwZXNoIE » Fri, 19 Mar 2010 21:33:01

hey Michael Bauer [MVP - Outlook] --- Very helpful is the object
browser: press f2, then switch from <All Libraries> to Outlook.

can you explain what exactly you mean about switching from <All Libraries>
to Outlook. I opened object browser and pressed f2 nothing is happening and i
am not finding any option to swithch from <All Libraries> and there is no
class called DistributionList . How can I proceed further??
 
 
 

Adding members to outlook distribution lists

Post by JP » Sat, 20 Mar 2010 00:49:37

You probably want to post in microsoft.public.outlook.program_addins,
this is a VBA-centric newsgroup (hence the name
"microsoft.public.outlook.program_vba").

--JP

On Mar 17, 6:31m, Rupesh Muppala