Pulling calendar information from outlook unless Private or "Free"

Karmink

New Member
Joined
Mar 26, 2013
Messages
1
Hi All,

I have written some VBA code to pull calendar information from the user's outlook into and excel s/sheet so we can quickly and easily do team time reporting. So far so good but I have hit a brick wall on two tweaks to the code:
1. I don't want to pull through entries marked as Private (happy if the solution pulls them into excel and then deletes them, as long as they don't show once the code has stopped running)
2. I don't want to show things where the time is classed as "free" (under "show time as" in Outlook)

My issue is that I can't seem to work out which object group these classifications sit under so can't identify them. Anyone got any tips (or a cheeky sub routine I can call onto do the magic?!)?

Many thanks,

Karmink
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,215,429
Messages
6,124,841
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top