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

  • Thread starter Barb@MillerandMiller
  • 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.
 
S

Sue Mosher [MVP-Outlook]

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

Barb@Miller&Miller

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top