Adding members to outlook distribution lists

R

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

Michael Bauer [MVP - Outlook]

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:
 
R

Rupesh Muppala

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
 
R

Rupesh Muppala

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

JP

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
 

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