A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , , ,

how to add contacts to an existing distribution list?





 
 
Thread Tools Display Modes
  #1  
Old October 23rd 07, 09:20 AM posted to microsoft.public.outlook.program_vba
yajiv.vijay@gmail.com
external usenet poster
 
Posts: 10
Default how to add contacts to an existing distribution list?

I can add contacts to a new distribution list , but i dont know how to
add contacts to an existing distribution list. Can anybody explain
with a code? If tutorials exist please mention their url.. thanks in
advance...

Ads
  #2  
Old October 23rd 07, 05:07 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,779
Default how to add contacts to an existing distribution list?

In general DL's are best to avoid, they are not very robust in the long
term.

Use DistListItem.AddMember or .AddMembers to do what you want. The Help in
the Object Browser shows examples of using those methods.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
ups.com...
I can add contacts to a new distribution list , but i dont know how to
add contacts to an existing distribution list. Can anybody explain
with a code? If tutorials exist please mention their url.. thanks in
advance...


  #3  
Old October 23rd 07, 09:20 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 1,592
Default how to add contacts to an existing distribution list?

plug
You can explicitly add a contact to a DL using RDODistListItem.AddContact in
Redemption (url below):
http://www.dimastr.com/redemption/rd...stListItem.htm
/plug

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ken Slovak - [MVP - Outlook]" wrote in message
...
In general DL's are best to avoid, they are not very robust in the long
term.

Use DistListItem.AddMember or .AddMembers to do what you want. The Help in
the Object Browser shows examples of using those methods.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
ups.com...
I can add contacts to a new distribution list , but i dont know how to
add contacts to an existing distribution list. Can anybody explain
with a code? If tutorials exist please mention their url.. thanks in
advance...




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Synch excel list with contacts distribution list Resi Outlook - Using Contacts 6 May 4th 07 04:09 PM
Importing a new distribution list into existing setup paul Outlook - Using Contacts 1 May 24th 06 06:04 PM
Adding a Member (existing in GAL) to a Public Distribution List in K.N.Ganesh. Outlook and VBA 1 May 23rd 06 09:25 PM
create a new distribution list using existing list Gordon McDougall Outlook - Using Contacts 1 May 21st 06 02:19 AM
How do i mail merge contacts from an existing list? Susana Outlook - General Queries 4 April 6th 06 11:32 AM


All times are GMT +1. The time now is 05:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
CreditCards - Loans - Neopets Cheats, Games and Neopoints - Northern Rock - Loans