loop through selected folders in Calendar of Outlook 2003

N

Nick B

Does anyone know if it is possible to loop through the selected calendars in
Outlook 2003?
 
S

Sue Mosher [MVP-Outlook]

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.
 
N

Nick B

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.?
 
S

Sue Mosher [MVP-Outlook]

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
 

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