A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Appointments



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 30th 06, 03:27 AM posted to microsoft.public.outlook.program_vba
DENNIS BROWN
external usenet poster
 
Posts: 51
Default Outlook Appointments

Hi,
I need to read all the appointments for the currently focused day into variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each appointment within the current day the user has focused on within the Day View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how to retrieve that data would be greatly appreciated!

--

Thanks,
Dennis
Ads
  #2  
Old September 30th 06, 07:57 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook Appointments

Am Fri, 29 Sep 2006 21:27:54 -0400 schrieb DENNIS BROWN:

This sample shows how to get all appointments of a specific day:
http://www.vboffice.net/sample.html?...3&cmd=showitem

Call it like this:

Dim Result as Outlook.Items
Dim Count as Long

Count=AppointmentsAtDay(Date, Result)
If Count 0 Then
...
Endif

You can then loop through the Result collection and read each objects
properties.

To get the selected day you need a workaround: Create an AppointmentItem and
read its Start property.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi,
I need to read all the appointments for the currently focused day into

variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each

appointment within the current day the user has focused on within the Day
View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how

to retrieve that data would be greatly appreciated!
  #3  
Old September 30th 06, 11:52 PM posted to microsoft.public.outlook.program_vba
DENNIS BROWN
external usenet poster
 
Posts: 51
Default Outlook Appointments

Thanks! That'll give me a start!

--

Thanks,
Dennis
"Michael Bauer [MVP - Outlook]" wrote in message .. .
Am Fri, 29 Sep 2006 21:27:54 -0400 schrieb DENNIS BROWN:

This sample shows how to get all appointments of a specific day:
http://www.vboffice.net/sample.html?...3&cmd=showitem

Call it like this:

Dim Result as Outlook.Items
Dim Count as Long

Count=AppointmentsAtDay(Date, Result)
If Count 0 Then
...
Endif

You can then loop through the Result collection and read each objects
properties.

To get the selected day you need a workaround: Create an AppointmentItem and
read its Start property.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi,
I need to read all the appointments for the currently focused day into

variables for use in a 3rd party adaptive-access application.
Where would I find examples of doing this?
What I need to do is retrieve the appointment properties for each

appointment within the current day the user has focused on within the Day
View of their calendar.
I just need to retrieve the data, not set it, so any code examples of how

to retrieve that data would be greatly appreciated!
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
why can't I see sychronised appointments in outlook Ekralc Outlook - Calandaring 0 August 16th 06 06:21 PM
Outlook will not save appointments Dianna Outlook - Calandaring 0 August 14th 06 06:16 PM
OutLook Appointments and Reminders Rex Corp. Outlook - Calandaring 1 August 11th 06 07:02 AM
How can I organize appointments in Outlook? Jbada985 Outlook - Calandaring 1 July 21st 06 08:45 PM
Limit for Appointments into Outlook? [email protected] Outlook - General Queries 2 March 7th 06 04:41 PM


All times are GMT +1. The time now is 07:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.