Listing Calendar entries

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
 
M

Michael Bauer [MVP - Outlook]

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 - MVP Outlook
Manage and share your categories:
<http://www.vboffice.net/product.html?pub=6&lang=en>


Am Fri, 12 Feb 2010 05:27:01 -0800 schrieb 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top