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
 
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
 
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
geoffnoakes Counting and/or listing fired reminders via VBA Using Outlook 1
V Folders listing Using Outlook 2
G New email account not appearing on mail folder listing Using Outlook 3
O Any 3rd party tool that sync (mirror) from Outlook Calendar to Google Calendar? Using Outlook 5
Fozzie Bear Calendar Events created on iPhone have suddenly start sending invitations to attendees Using Outlook 2
J Set calendar default to 'none' (policy) Exchange Server Administration 3
J Calendar events created on iPhone automatically changing default alert from 'None' to 'Time of Event' Using Outlook.com accounts in Outlook 0
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
G Creating Macro to scrape emails from calendar invite body Outlook VBA and Custom Forms 6
U When opening shared Calendar "The set of folders cannot be opened" Using Outlook 0
P Can no longer sync Outlook with iPhone calendar after iPhone update to 17.1.1 Using Outlook 7
P turn off the default "all day" check box in new calendar items. How? Using Outlook 1
A Outlook 365 New Appointments All saved to a 365 default calendar on Mac Using Outlook 0
V Unchecking my calendar and leaving shared one visible Outlook VBA and Custom Forms 1
V VBA Categories unrelated to visible calendar and Visual appointment Categories Outlook VBA and Custom Forms 2
M New Calendar Appointments: Conditionally turn off reminder and show time as free Using Outlook 5
J Cannot edit a calendar event received as an invitation Using Outlook 2
H Outlook 365 O365 outlook calendar item editing Using Outlook 1
Kika Melo Outlook Calendar deleted appointments not in Deleted Items folder Using Outlook 3
P Copying ALL calendar entries from Calender in PST file to IMAP OST file? Using Outlook 1
e_a_g_l_e_p_i Question about calendar Using Outlook 5
icacream Outlook 2021 - Google calendar in the peek Using Outlook 0
e_a_g_l_e_p_i MY Outlook 2021 changed the format of the shortcuts for mail, calendar etc. Using Outlook 10
Fozzie Bear Shared Calendar For Scheduled Tasks Using Outlook.com accounts in Outlook 3
K Add an entry to a specific calendar Using Outlook 1
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 3
G Stop Outlook 365 adding meetings to calendar Using Outlook 1
CWM550 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 2
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

Similar threads

Back
Top