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.
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.