![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi All,
I am creating meetingrequests with Excel VBA. Part of the code below. Set gobjOutlook = GetObject(, "Outlook.application") Set gobjAppointment = gobjOutlook.CreateItem(olAppointmentItem) With gobjAppointment .MeetingStatus = olMeeting ... and all other stuff Set gobjMailAddress = .Recipients.Add(gstrAddressee) gobjMailAddress.Type = olOptional Set gobjMailAddress = .Recipients.Add(gstrOptionalAddressee) gobjMailAddress.Type = olOptional End With Sometimes the optional addressee becomes a required one and sometimes they remain optional. I'm not sure why this happen but think that it has something to do with the way I specify the optional attendees. - looks as working always correctly - John Doe works also correctly when known in my addressbook - I goes from time to time wrong when John Doe is known in the addressbook as John Doe (Outlook Forum) Can soemone confirm this or tell me more about this? Thanks in advance. With kind regards, JP |
#2
|
|||
|
|||
![]()
If you supply a name instead of an email address and the name can be
ambiguous or doesn't match what's in an address book the recipient may not resolve. That shouldn't change the recipient type. See if this works better. Here is the equivalent of each type of meeting recipient versus the recipient type: Required To Optional Cc Resource Bcc Set those and see if things work better, but avoid ambiguous recipients. -- 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 "JP Ronse" wrote in message ... Hi All, I am creating meetingrequests with Excel VBA. Part of the code below. Set gobjOutlook = GetObject(, "Outlook.application") Set gobjAppointment = gobjOutlook.CreateItem(olAppointmentItem) With gobjAppointment .MeetingStatus = olMeeting ... and all other stuff Set gobjMailAddress = .Recipients.Add(gstrAddressee) gobjMailAddress.Type = olOptional Set gobjMailAddress = .Recipients.Add(gstrOptionalAddressee) gobjMailAddress.Type = olOptional End With Sometimes the optional addressee becomes a required one and sometimes they remain optional. I'm not sure why this happen but think that it has something to do with the way I specify the optional attendees. - looks as working always correctly - John Doe works also correctly when known in my addressbook - I goes from time to time wrong when John Doe is known in the addressbook as John Doe (Outlook Forum) Can soemone confirm this or tell me more about this? Thanks in advance. With kind regards, JP |
#3
|
|||
|
|||
![]()
Hi Ken,
I've tried your suggestion and it looks indeed better. Thanks for this. With kind regards, JP "Ken Slovak - [MVP - Outlook]" wrote in message ... If you supply a name instead of an email address and the name can be ambiguous or doesn't match what's in an address book the recipient may not resolve. That shouldn't change the recipient type. See if this works better. Here is the equivalent of each type of meeting recipient versus the recipient type: Required To Optional Cc Resource Bcc Set those and see if things work better, but avoid ambiguous recipients. -- 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 "JP Ronse" wrote in message ... Hi All, I am creating meetingrequests with Excel VBA. Part of the code below. Set gobjOutlook = GetObject(, "Outlook.application") Set gobjAppointment = gobjOutlook.CreateItem(olAppointmentItem) With gobjAppointment .MeetingStatus = olMeeting ... and all other stuff Set gobjMailAddress = .Recipients.Add(gstrAddressee) gobjMailAddress.Type = olOptional Set gobjMailAddress = .Recipients.Add(gstrOptionalAddressee) gobjMailAddress.Type = olOptional End With Sometimes the optional addressee becomes a required one and sometimes they remain optional. I'm not sure why this happen but think that it has something to do with the way I specify the optional attendees. - looks as working always correctly - John Doe works also correctly when known in my addressbook - I goes from time to time wrong when John Doe is known in the addressbook as John Doe (Outlook Forum) Can soemone confirm this or tell me more about this? Thanks in advance. With kind regards, JP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook- importing required attendees | Shana Hunt | Outlook - Calandaring | 2 | January 6th 09 11:58 AM |
Reminding required attendees to respond | Rosie | Outlook - Calandaring | 0 | February 8th 08 07:59 PM |
Required Attendees autocomplete | G-ME | Outlook - Using Forms | 1 | February 6th 08 02:30 PM |
required attendees appear as optional | [email protected] | Outlook - Calandaring | 0 | October 26th 07 09:53 AM |
Required Attendees not show up | Zenith | Outlook - Calandaring | 0 | December 1st 06 05:10 AM |