Using Access to put a meeting on another person's folder

  • Thread starter Barb@Miller&Miller
  • Start date
B

Barb@Miller&Miller

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
 
Top