J
JP Ronse
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.
- (e-mail address removed) 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
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.
- (e-mail address removed) 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