Yes. Use an AdvancedSearch to do that. It's the easiest way.
Set up the search criteria by opening a dialog for a custom calendar view.
Click Filter and go to the Advanced tab. Use the All Appointments setting to
add Label = whatever as a filter. Go to the SQL tab and check the box to use
only that. Copy the SQL criteria and that's your AdvancedSearch filter. Make
the search folder the calendar folder name and get the Count of the returned
Results collection.
An alternative would be to use the filter as a Restrict filter on the Items
collection of the folder using the "@SQL="filter undocumented syntax. Get
the Count of the returned Items collection.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
wrote in message
ups.com...
Hi there
Is it possible to count the number of days a certain label type occurs
in a calendar?
Regards
Ian