Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Distribution List (http://www.outlookbanter.com/outlook-vba/41993-distribution-list.html)

Jonathan February 27th 07 02:02 AM

Distribution List
 
Hi, I can create a distribution list. How do I set a reference to an existing
distribution list item?

(I appologise if this appears twice as my first attempt to post this
question resulted in a error notification. So am not sure whether it was
posted successfully).

Many thanks
Jonathan

Michael Bauer [MVP - Outlook] February 27th 07 07:17 AM

Distribution List
 


You get a reference with the GetMember function.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Mon, 26 Feb 2007 17:02:09 -0800 schrieb Jonathan:

Hi, I can create a distribution list. How do I set a reference to an

existing
distribution list item?

(I appologise if this appears twice as my first attempt to post this
question resulted in a error notification. So am not sure whether it was
posted successfully).

Many thanks
Jonathan


Jonathan February 27th 07 08:48 PM

Distribution List
 
Hi Michael, I see that the GetMember function is used to return a member of a
specific distribution list. However, in looking up this function I found what
I was looking for...

TypeName(myFolderItems.Item(x)) = "DistListItem"
and
myDistList.DLName

So thank you Michael for pointing me in the right direction.

Many thanks
Jonathan

"Michael Bauer [MVP - Outlook]" wrote:



You get a reference with the GetMember function.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Mon, 26 Feb 2007 17:02:09 -0800 schrieb Jonathan:

Hi, I can create a distribution list. How do I set a reference to an

existing
distribution list item?

(I appologise if this appears twice as my first attempt to post this
question resulted in a error notification. So am not sure whether it was
posted successfully).

Many thanks
Jonathan




All times are GMT +1. The time now is 07:06 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