Using Access to put a meeing in another user's folder

  • Thread starter Thread starter Barb@MillerandMiller
  • Start date Start date
B

Barb@MillerandMiller

We found the code below on pg 230 in Microsoft Programming
Jumpstart for etc. This allows us to programmatically
place an appointment on another user's calendar.

Dim objOtherFolder As Outlook.MAPIFolder
Dim objAppt As Outlook.AppointmentItem

Set objOtherFolder = GetOtherUserCalendar("Emily Huie")
Set objAppt = objOtherFolder.Items.Add
(olAppointmentItem)

objAppt.Start = #11/16/2004 12:00:00 PM#
objAppt.Duration = 30
objAppt.Subject = "Lunch"
objAppt.Body = "Barb wants to buy you lunch today!"
objAppt.ReminderMinutesBeforeStart = 15
objAppt.ReminderSet = True
objAppt.Save
objAppt.Close (olSave)

Set objAppt = Nothing

'Release the object variables.
Set objOtherFolder = Nothing

Is there similar code for a meeting on someone's calendar
that still gives them the option to Accept/Decline?

Thanks,
Barb.
 
You can either place a meeting in someone else's calendar or you can send
them a meeting request that they can accept or decline. You can't do both,
at least not in a single item.
 
We would want to programmatically send them a meeting
request using VBA code that they can then either Accept or
decline. My question is how would I alter the code below
to do this?
 
Back
Top