473,473 Members | 2,292 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Access referencing data from Outlook Calendar

40 New Member
Hi guys.

This is a converse to the discussion in this link, with focus on post #5 and #6:
http://bytes.com/topic/access/answer...scheduled-date

I'm doing some research on it online at the moment. If I'm unsuccessful, I'd let the database work with Outlook automation, as per the solution in the above thread.

Kind regards,
Jul 14 '15 #1
1 1018
zmbd
5,501 Recognized Expert Moderator Expert
Same thought as you've already done...

Create your outlook instance. (Application Automation)
Expand|Select|Wrap|Line Numbers
  1.    ' If Outlook is open, use GetObject, otherwise open Outlook
  2.     Set objOutlook = GetObject(, "Outlook.Application")
  3.     If objOutlook Is Nothing Then Set objOutlook = CreateObject("Outlook.Application")
Once you have the instance started then setup a pointer to the calendar folder with restrictions for date


Expand|Select|Wrap|Line Numbers
  1. set objCalendarItems = objOutlook.getdefaultfolder(olFolderCalendar)
  2. zstrRestrictto = "[Start] <= & _
  3.    zEnddate & "AND [End] >=" & zStartDate
Excellent example here:
(( See here too: Search the Calendar for Appointments that Occur Partially or Entirely in a Given Time Period ))
Jul 14 '15 #2

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

Similar topics

1
by: deko | last post by:
Does this code look correct? Private Sub cmdCalendar_Click() Dim mOutlookApp As Outlook.Application Dim mNameSpace As Outlook.NameSpace Set mOutlookApp = New Outlook.Application Set mNameSpace...
1
by: deko | last post by:
Does anyone know where I can find code that will grab Outlook Calendar data? I need to get a count of existing future appointments, and possibly the next existing appointment, and dump that into a...
0
by: Srinivas | last post by:
Hi, whether it's possible to access client's Outlook calendar information from the ASP.net application? We want to develop an intranet application in which 1)the user who logs on to the intranet...
2
by: dunk_king | last post by:
Hi Anybody, i´m trying to show a calendar (dayview) in my own vb.net programm. This calendar sheet should get all items (of this day) of my local outlook calendar (Outlook 2000). Is something...
1
by: Dusty1368 | last post by:
Good evening, I have this idea........ I want (someone) to design a template in Access or Excel (I was told it was these 2) and from which ever program data like date, time, location, and subject...
2
by: Mr K New | last post by:
I am new to Access and want to transfer data to and from outlook calendar ( from access ) I need the date, location, and subject fields does any versions of outlook and access do this or do I need...
2
BenRatcliffe
by: BenRatcliffe | last post by:
Hi there, Has anyone got any idea how i can use details in entered into a form (and stored in a tale) to create a meeting in the outlook calendar. I have tried linking the calendar to the database...
1
by: Matt Tonkin | last post by:
Hi: I need to automate outlook to send an email to me when my Outlook calendar is updated but i am not at my desk. I have written a code that will compile and tabulate my calendar for the day, place...
5
by: adkolta | last post by:
I've established a linked table between my Access DB and an Outlook Calendar. The intent is to use the Calendar as a means to report time spent on a job. However some essential fields do not seem to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.