loop through selected folders in Calendar of Outlook 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know if it is possible to loop through the selected calendars in
Outlook 2003?
 
By "selected" do you mean displayed in the Calendar navigation pane? You'd
have to use the Explorer.IsFolderSelected method to check every calendar
folder in every store in Namespaces.Folders. And even that wouldn't tell you
if any calendar folders from other mailboxes are being displayed.
 
Thanks Sue! That is exactly what I mean. So then there is no way in Outlook
2003 to save checked/selected calendars so that when you reopen Outlook they
will be selected, other than to enter the specific calendars into the code
directly.?
 
That's rather a different question. If you want particular calendars to be
selected, you'd need to run code that performs the selection after Outlook
opens. The .xml file that holds the navigation pane information doesn't
appear to support that.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top