Listing Calendar entries

Status
Not open for further replies.
B

Barb Reinhardt

I am not at all familiar with the outlook object model, but am interested in

listing out the calendar entries in my calendar that are full day events.

I'd like to determine if I have them set for Busy or Free or something else?

Can someone direct me to some sample code to do this? FWIW, I'm quite

familiar with the Excel object model and do a good bit of programming there.

Barb Reinhardt
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
you can see the object model by using the object browser (f2), switch from

<All Libraries> to Outlook.

The GetDefaultFolder function can return the default calendar folder.

Iterate its Items collection, which contains AppointmentItem objects for a

calendar. For instance, read each object's BusyStatus property to see which

one is Busy or Free. You can see all of the available properties in the

object browser by selecting the AppointmentItem in the left pane.

Best regards

Michael Bauer

Am Fri, 12 Feb 2010 05:27:01 -0800 schrieb Barb Reinhardt:


> I am not at all familiar with the outlook object model, but am interested


in
> listing out the calendar entries in my calendar that are full day events.
> I'd like to determine if I have them set for Busy or Free or something


else?
> Can someone direct me to some sample code to do this? FWIW, I'm quite
> familiar with the Excel object model and do a good bit of programming


there.

> Barb Reinhardt
 
B

Barb Reinhardt

I now have another related question. I have access to the calendar for

another "email" address (it's actually a group calendar, but it's tied to an

email) and I want to list out the items for that calendar. How do I identify

it as an outlook folder.

Thanks,

Barb Reinhardt

"Michael Bauer " wrote:



> you can see the object model by using the object browser (f2), switch from
> <All Libraries> to Outlook.

> The GetDefaultFolder function can return the default calendar folder.
> Iterate its Items collection, which contains AppointmentItem objects for a
> calendar. For instance, read each object's BusyStatus property to see which
> one is Busy or Free. You can see all of the available properties in the
> object browser by selecting the AppointmentItem in the left pane.

> > Best regards
> Michael Bauer
>

>

> Am Fri, 12 Feb 2010 05:27:01 -0800 schrieb Barb Reinhardt:
>
> > I am not at all familiar with the outlook object model, but am interested

> in
> > listing out the calendar entries in my calendar that are full day events.
> > I'd like to determine if I have them set for Busy or Free or something

> else?
> > Can someone direct me to some sample code to do this? FWIW, I'm quite
> > familiar with the Excel object model and do a good bit of programming

> there.
> > Barb Reinhardt

> .
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
V Folders listing Using Outlook 2
G New email account not appearing on mail folder listing Using Outlook 3
Fozzie Bear Shared Calendar For Scheduled Tasks Using Outlook.com accounts in Outlook 0
K Add an entry to a specific calendar Using Outlook 0
F Add a category before "Send an Email When You Add an Appointment to Your Calendar" Outlook VBA and Custom Forms 0
L Synch Outlook 365 calendar with iPhone Using Outlook 0
C Recover calendar Using Outlook 0
R How to prevent corrupted Notes format in Calendar and Contacts Using Outlook 0
L Duplicate calendar entries in Outlook 365 Using Outlook 4
G Stop Outlook 365 adding meetings to calendar Using Outlook 2
Christopher M Outlook 365 HELP! Calendar Craziness! Using Outlook 5
J Event/Meeting in Outlook Does Not Align with SharePoint Calendar Using Outlook 5
Commodore Slow calendar Using Outlook 0
C How to import Outlook calendar? Using Outlook 1
G Add contacts birthday to calendar Using Outlook 4
e_a_g_l_e_p_i Outlook 2021 all appointments not showing in calendar Using Outlook 2
V iCloud calendar problems, Outlook shuts down immediately Using Outlook 2
KeithJB iCloud calendar sync only works one way! Using Outlook 3
V Backup Calendar, Contacts, Tasks in an POP3 data file Using Outlook 3
O Unable to make changes to an existing Calendar entry Using Outlook 11
J VBA for outlook to compare and sync between calendar Outlook VBA and Custom Forms 1
A Meeting organizer calendar intermittently drops meeting after delegate sends invite Using Outlook 0
A Meeting organizer calendar intermittently drops meeting after delegate sends invite Exchange Server Administration 0
T Outlook 2010 Cannot edit Calendar entries in OL 2010. Using Outlook 1
M On behalf of not showing on calendar for boss Using Outlook 1
C Outlook 2016 Unable to delete Gmail IMAP calendar Using Outlook 3
A force outlook to default to MY calendar Using Outlook 3
O Carriage Return - Line Feeds - exporting Calendar events Using Outlook 0
K How to share multiple calendar items Using Outlook 1
P Calendar Day View only shows 1 all day event Using Outlook 0
Hobbes Outlook 365 Calendar spreads into second calendar Using Outlook 3
J Macro to Insert a Calendar Outlook VBA and Custom Forms 8
C Tracking Calendar Changes? Using Outlook 1
O Batch update calendar Using Outlook 3
P Outlook calendar and contacts sync problem-outlook disconnects Using Outlook.com accounts in Outlook 2
HarvMan Toggle between calendar and email in Outlook 365 Using Outlook 12
e_a_g_l_e_p_i Is it possible to transfer things from one calendar to another Using Outlook 2
M Outlook calendar is missing Using Outlook 2
A Any way to make Outlook Calendar invitations look right to Gmail/Google Calendar users? Using Outlook 3
O Calendar - Location: what happens when using my own way of entering locations Using Outlook 1
I Outlook is stuck at "Updating Calendar" Using Outlook 1
AmonRa Outlook 365 calendar - too much white space Using Outlook 0
M Cannot read the calendar Using Outlook 9
Horsepower What is best calendar practice for iMac Using Outlook 3
M Calendar greyed out Using Outlook 0
M Unable to share 2019 calendar Using Outlook 0
Fozzie Bear Accepted Zoom Invites deleting without going into Default Calendar - Office 2016 Mac Using Outlook 3
P Outlook 2013 Calendar Archiving Using Outlook 0
Fozzie Bear Sharing Birthday Calendar Using Outlook.com accounts in Outlook 3
M Calendar daily Appointments and printing Using Outlook 0

Similar threads

Top