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

attendee changed from optional to required



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 13th 13, 03:06 PM
kjswaringen kjswaringen is offline
Junior Member
 
First recorded activity at Outlookbanter: Aug 2013
Posts: 1
Unhappy attendee changed from optional to required

I have an Access database that keeps track of my team's cross-training sessions. I added some coding to create an Outlook meeting invite (I'm using Access and Outlook 2010). I decided to include the supervising manager as an optional attendee (so the manager is aware of the training session but isn't under an obligation to attend). This is the section of code in question:

Dim oOLApp As Object
Dim oOLInvite As Object

Set oOLApp = CreateObject("Outlook.Application")
Set oOLInvite = oOLApp.CreateItem(1)

oOLInvite.Subject = Me.txtSubject & " (cross-training session)"
oOLInvite.MeetingStatus = 1
oOLInvite.Start = Me.txtSessionStart
oOLInvite.End = Me.txtSessionEnd
oOLInvite.RequiredAttendees = strToFull
oOLInvite.OptionalAttendees = strManager
oOLInvite.Body = Me.txtCurriculum
oOLInvite.ReminderMinutesBeforeStart = 15
oOLInvite.ReminderSet = True
oOLInvite.Display

Set oOLInvite = Nothing
Set oOLApp = Nothing

The problem comes when Outlook resolves the addresses. If I click on the 'To' button as soon as the invite displays, and the addresses are resolved while the dialog box is open, everything seems fine. However, if I don't click the button, and the addresses are resolved while the main invite window is open, the manager is suddenly converted from an optional attendee to a required attendee.

What's causing this? Is there a way to prevent it from happening?

Thanks,
Kristen
Ads
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attendee shows up as Required and Optional in Outlook 2007 jelopez68 Outlook - Calandaring 0 February 5th 10 04:59 PM
When receiving an optional attendee meeting, I want to show as fre Crystal Outlook - Calandaring 1 December 2nd 09 06:02 PM
required attendees appear as optional [email protected] Outlook - Calandaring 0 October 26th 07 08:53 AM
plan a meeting - required / optional anouch Outlook - Calandaring 0 June 14th 07 08:23 AM
Meeting attendance required/optional K-AVIEL Outlook - Calandaring 0 April 17th 07 04:16 PM


All times are GMT +1. The time now is 05:17 PM.


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