Get National Calendar Holiday with VBA

J

Joao Rodrigues

Hi all,

how can i "see" with VBA, if a date is a holiday in the
National Calendar set in Outlook 2000 user mailbox,
Calendar Options ?

I've been watching in the Outlook.Application objects and
collections and I'ved trie to set a PropertyPages
collection but i'm getting no where...

Thanks in advance, for any clues on this subject.

Joao.
 
S

Sue Mosher [MVP-Outlook]

If the user imported holidays using Outlook's feature for that, each of
those holiday items will have a category of "Holiday." You could, therefore,
use Find or Restrict to get the items for a particular date (see
http://www.outlookcode.com/d/finddate.htm) then check the value of the
Categories property for each one.
 
Top