Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    May 2003
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Names in a Distribution List (OfficeXP (VBA))

    I am using the GetAddress method of VBA to return an address from Outlook. When someone selects a Distribution List from the dialog box, I was wondering how to search for all the names in that list? I am having trouble using the Outlook model to look up all the names within the list. Can someone help?

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Names in a Distribution List (OfficeXP (VBA))

    Hmmm. <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29> Assuming that your question follows from the thread at <post#=324474>post 324474</post#>, I don't see a simple solution, because the GetAddress method returns a string of the addresses, which makes it complicated to point to the DL's indiviual 'Parent' Contact Items.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    2 Star Lounger
    Join Date
    May 2003
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Names in a Distribution List (OfficeXP (VBA))

    What if I use the GetAddress method to return only one name? Is it possible to access the DistListItem by using its name? I am having trouble using this collection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •