Macro to switch to calendar/contacts/tasks with folder view in navigation pane

  • Thread starter Thread starter Alex Wenzel
  • Start date Start date
A

Alex Wenzel

Hi,

this should be really simple, but I don't really have any idea of VBA.
So sorry if this is a stupid question.

I use OL 2003 and I'm looking for a way to switch to the contacts/
calendar/tasks view in the main panel with the navigation pane
immediately switching to the folders list.
I already moved all the silly huge buttons from the bottom to small
buttons in my toolbar now, but I dislike the navigation pane switching
with the main view in those cases. The mail view of the nav pane is
useful, but the others are not (esp. since they give me a long list of
identically named folders, due to several mini-backups).

So a macro (1) "Switch to [e.g.] contacts" and (2) "Switch nav pane to
folder list" would be really helpful.

This seems to have been discussed here in the past, but I could only
retrieve one meaningless post of an old (2006) thread.

Could someone tell me how such a macro would look like?

TIA
Alex
 
Thanks, but I already know that. I already moved the treeview button
(with all other buttons) from the bottom to the toolbar.
What I'm looking for is a way to have the contacts/tasks/calendar
views switch to the tree view in the nav pane automatically, while
email views (like inbox) should show the email nav pane.
I can get what I want with using the buttons (like switching to
contacts by the contacts button plus switching to tree view with the
tree view button), but I want to automate that.
Plus, the tree view, once activated, also "sticks" when switching to
email folders, which is something I don't want.

Do you want the good old treeview? Simply click in the lower left corner the
second icon (a closed folder symbol) to switch to the treeview.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail =en&pub=6>

Am Sat, 18 Aug 2007 12:17:24 -0700 schrieb Alex Wenzel:




this should be really simple, but I don't really have any idea of VBA.
So sorry if this is a stupid question.
I use OL 2003 and I'm looking for a way to switch to the contacts/
calendar/tasks view in the main panel with the navigation pane
immediately switching to the folders list.
I already moved all the silly huge buttons from the bottom to small
buttons in my toolbar now, but I dislike the navigation pane switching
with the main view in those cases. The mail view of the nav pane is
useful, but the others are not (esp. since they give me a long list of
identically named folders, due to several mini-backups).
So a macro (1) "Switch to [e.g.] contacts" and (2) "Switch nav pane to
folder list" would be really helpful.
This seems to have been discussed here in the past, but I could only
retrieve one meaningless post of an old (2006) thread.
Could someone tell me how such a macro would look like?
 
Ok, I understand now. You can track the Explorer's FolderSwitch event. If
one of the folders get activated you want the treeview for then call:

Explorer.ShowPane olFolderList, True

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>


Am Wed, 22 Aug 2007 12:38:31 -0700 schrieb Alex Wenzel:
Thanks, but I already know that. I already moved the treeview button
(with all other buttons) from the bottom to the toolbar.
What I'm looking for is a way to have the contacts/tasks/calendar
views switch to the tree view in the nav pane automatically, while
email views (like inbox) should show the email nav pane.
I can get what I want with using the buttons (like switching to
contacts by the contacts button plus switching to tree view with the
tree view button), but I want to automate that.
Plus, the tree view, once activated, also "sticks" when switching to
email folders, which is something I don't want.

Do you want the good old treeview? Simply click in the lower left corner the
second icon (a closed folder symbol) to switch to the treeview.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail =en&pub=6>

Am Sat, 18 Aug 2007 12:17:24 -0700 schrieb Alex Wenzel:




this should be really simple, but I don't really have any idea of VBA.
So sorry if this is a stupid question.
I use OL 2003 and I'm looking for a way to switch to the contacts/
calendar/tasks view in the main panel with the navigation pane
immediately switching to the folders list.
I already moved all the silly huge buttons from the bottom to small
buttons in my toolbar now, but I dislike the navigation pane switching
with the main view in those cases. The mail view of the nav pane is
useful, but the others are not (esp. since they give me a long list of
identically named folders, due to several mini-backups).
So a macro (1) "Switch to [e.g.] contacts" and (2) "Switch nav pane to
folder list" would be really helpful.
This seems to have been discussed here in the past, but I could only
retrieve one meaningless post of an old (2006) thread.
Could someone tell me how such a macro would look like?
 
Ok, I understand now. You can track the Explorer's FolderSwitch event. If
one of the folders get activated you want the treeview for then call:
Explorer.ShowPane olFolderList, True

Sorry, I'm late to reply, because I've been on vacation. Thanks for
this hint. I experimented with this, but due to my lack of
understanding of VBA, I can get nowhere.
Could you tell me how the complete macro for e.g. "Go to tasks and
switch nav pane to folder list" has to look like?
(Outlook really should have a macro recorder for dummies like me.)
 
Back
Top