open outlook calendar from an access form

mjschukas

Member
(office 2003/2007)

open outlook calendar from an access form

i'm looking for an example...(just to open tthe calendar in a window on the form...)

(and another option would be to search the Outlook contacts for the person on the Access form, and create an appointment...)

thank you.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Have you checked outlookcode.com? They have a lot of code samples but i don't know if they have one for this.
 

mjschukas

Member
Have you checked outlookcode.com? They have a lot of code samples but i don't know if they have one for this.
thank you...i used the following to start with:

'

'http://www.pcreview.co.uk/forums/open-calendar-and-go-date-vba-t798872.html

'---------------------------
Dim ol As Outlook.Application

Set ol = New Outlook.Application

Set olns = ol.GetNamespace("MAPI")

olns.GetDefaultFolder(olFolderCalendar).Display
 

Top