I have a project tracking database, then I use outlook to schedule the orders in the tracking database I created. I was wondering if there is a way to create a calendar item using parameters already entered into the orders?
Maybe one of these?
Posting info from Access to Outlook Calendar
thread700-1110102
Access to Outlook automation
thread707-1167011
Adding appointments to Public Calendar in Outlook
thread333-1161222
Useing Access as a shared calendar through outlook
thread705-1142369
Dim myOlApp As Object, myEvent As AppointmentItem
Dim nsNameSpace As NameSpace, myFolderCalendar As MAPIFolder
On Error GoTo err_Exit
Set myOlApp = CreateObject("Outlook.Application")
Set nsNameSpace = myOlApp.GetNamespace("MAPI")
Set myFolderCalendar = nsNameSpace.GetDefaultFolder(olFolderCalendar)
Set myEvent = myOlApp.CreateItem(olAppointmentItem)
myEvent.start = Date
myEvent.Subject = Me.ProjectName
myEvent.Save
Set myOlApp = Nothing
Set myEvent = Nothing
Set myFolderCalendar = Nothing
MsgBox ("Event created in your Outlook calendar.")
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.