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

Getting MeetingResponseStatus for a DL



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 17th 08, 02:18 PM posted to microsoft.public.outlook.program_vba
melon
external usenet poster
 
Posts: 13
Default Getting MeetingResponseStatus for a DL

Suppose I have a MeetingItem. MeetingItem.Recipients contains 1
member, and it is a DL.

I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.

Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL? Do I need to do something like

1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient
Ads
  #2  
Old March 18th 08, 01:07 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Getting MeetingResponseStatus for a DL

You can extract individual members from a DistListItem object by using the
GetMember() method, which returns a Recipient object. Why not just use the
Recipient.MeetingResponseStatus property?

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


"melon" wrote in message
...
Suppose I have a MeetingItem. MeetingItem.Recipients contains 1
member, and it is a DL.

I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.

Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL? Do I need to do something like

1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient


  #3  
Old March 18th 08, 01:34 PM posted to microsoft.public.outlook.program_vba
melon
external usenet poster
 
Posts: 13
Default Getting MeetingResponseStatus for a DL

On Mar 18, 9:07 am, "Ken Slovak - [MVP - Outlook]"
wrote:
You can extract individual members from a DistListItem object by using the
GetMember() method, which returns a Recipient object. Why not just use the
Recipient.MeetingResponseStatus property?

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

"melon" wrote in message

...

Suppose I have a MeetingItem. MeetingItem.Recipients contains 1
member, and it is a DL.


I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.


Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL? Do I need to do something like


1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient


ow do you get DistItem from AppointmentItem?
  #4  
Old March 18th 08, 08:28 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Getting MeetingResponseStatus for a DL

You don't get a DistListItem from an appointment, you get it from the
Recipient object. In this case Recipient.AddressEntry.DisplayType will be 5
(ololPrivateDistList). If you see that you know you are dealing with a DL.

Get the AddressEntry.Name property and use that to find the DL in your
contacts. Once you have the DL as a DistListItem you can then use
GetMember() to retrieve each DL member in turn and each one you retrieve
will be a Recipient object, from which you can then retrieve
MeetingResponseStatus.

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


"melon" wrote in message
...
snip
ow do you get DistItem from AppointmentItem?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT +1. The time now is 11:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.