View Single Post
  #4  
Old March 18th 10, 12:33 PM posted to microsoft.public.outlook.program_vba
Rupesh Muppala[_2_]
external usenet poster
 
Posts: 2
Default Adding members to outlook distribution lists

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??

"Rupesh Muppala" wrote:

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

"Michael Bauer [MVP - Outlook]" wrote:



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.vboffice.net/product.html?lang=en


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

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??

.

Ads