By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,147 Members | 744 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,147 IT Pros & Developers. It's quick & easy.

Making an appointment in Outlook from Access

P: 1
Is there a simple way to open Outlook in Calendar view from Access 2007? I do not know code, but I have used Access for years.
Nov 18 '13 #1
Share this Question
Share on Google+
2 Replies


ADezii
Expert 5K+
P: 8,638
I am not 100% sure on this, but I do believe that you would have to use the CreateItem() Method of the Outlook Application Object to create the Appointment, then you need to set its Properties, as in:
Expand|Select|Wrap|Line Numbers
  1. Dim objOutlook As Outlook.Application
  2. Dim objAppointment As Outlook.AppointmentItem
  3.  
  4. Set objOutlook = Outlook.Application
  5. Set objAppointment = objOutlook.CreateItem(olAppointmentItem)
  6.  
  7. 'Set properties of the newly created Appointment here
  8. With objAppointment
  9.   '.Actions = ???
  10.   '.AllDayEvent = ???
  11.   '.Body = ???
  12.   '.Duration = ???
  13.   'etc..
  14. End With
Nov 18 '13 #2

topher23
Expert 100+
P: 234
If you're going to use Outlook Automation like this, don't forget to add "Microsoft Outlook ##.# Object Library" as a Reference or use late binding, as discussed in this insight from Adezii: Early vs. Late Binding
Nov 18 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.