PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming loop through selected folders in Calendar of Outlook 2003

Reply

loop through selected folders in Calendar of Outlook 2003

 
Thread Tools Rate Thread
Old 01-03-2005, 04:37 AM   #1
=?Utf-8?B?TmljayBC?=
Guest
 
Posts: n/a
Default loop through selected folders in Calendar of Outlook 2003


Does anyone know if it is possible to loop through the selected calendars in
Outlook 2003?
  Reply With Quote
Old 01-03-2005, 02:06 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: loop through selected folders in Calendar of 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.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Nick B" <NickB@discussions.microsoft.com> wrote in message
news:C5869A06-1B22-4FC1-A991-3EE79144488A@microsoft.com...
> Does anyone know if it is possible to loop through the selected calendars
> in
> Outlook 2003?



  Reply With Quote
Old 01-03-2005, 06:29 PM   #3
=?Utf-8?B?TmljayBC?=
Guest
 
Posts: n/a
Default Re: loop through selected folders in Calendar of Outlook 2003

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

"Sue Mosher [MVP-Outlook]" wrote:

> 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.
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx

  Reply With Quote
Old 01-03-2005, 06:48 PM   #4
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: loop through selected folders in Calendar of Outlook 2003

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
http://www.outlookcode.com/jumpstart.aspx


"Nick B" <NickB@discussions.microsoft.com> wrote in message
news:9C296620-01DA-4A11-BC77-00ED469976BA@microsoft.com...
> 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.?
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> 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.



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off