Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barb@MillerandMiller - 03 Nov 2004 20:43 GMT
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.
Sue Mosher [MVP-Outlook] - 04 Nov 2004 03:49 GMT
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.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> We found the code below on pg 230 in Microsoft Programming
> Jumpstart for etc.  This allows us to programmatically
[quoted text clipped - 26 lines]
> Thanks,
> Barb.
Barb@Miller&Miller - 04 Nov 2004 14:24 GMT
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?  
>-----Original Message-----
>You can either place a meeting in someone else's calendar or you can send
[quoted text clipped - 33 lines]
>
>.
Sue Mosher [MVP-Outlook] - 04 Nov 2004 15:12 GMT
See http://www.outlookcode.com/codedetail.aspx?id=88 for sample VBScript
code that you should be able to adapt.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> We would want to programmatically send them a meeting
> request using VBA code that they can then either Accept or
[quoted text clipped - 6 lines]
> You can't do both,
>>at least not in a single item.

>>"Barb@MillerandMiller"
> <anonymous@discussions.microsoft.com> wrote in
[quoted text clipped - 29 lines]
> calendar
>>> that still gives them the option to Accept/Decline?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.