Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Macro to switch to calendar/contacts/tasks with folder view in navigation pane (http://www.outlookbanter.com/outlook-vba/55005-macro-switch-calendar-contacts-tasks.html)

Alex Wenzel August 18th 07 08:17 PM

Macro to switch to calendar/contacts/tasks with folder view in navigation pane
 
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


Michael Bauer [MVP - Outlook] August 21st 07 08:24 AM

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


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&lang=en&pub=6

Am Sat, 18 Aug 2007 12:17:24 -0700 schrieb 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


Alex Wenzel August 22nd 07 08:38 PM

Macro to switch to calendar/contacts/tasks with folder view in navigation pane
 
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.

On Aug 21, 9:24 am, "Michael Bauer [MVP - Outlook]"
wrote:
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...063&cmd=detail =en&pub=6

Am Sat, 18 Aug 2007 12:17:24 -0700 schrieb 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




Michael Bauer [MVP - Outlook] August 23rd 07 06:07 AM

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

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.

On Aug 21, 9:24 am, "Michael Bauer [MVP - Outlook]"
wrote:
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...063&cmd=detail =en&pub=6

Am Sat, 18 Aug 2007 12:17:24 -0700 schrieb 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


Alex Wenzel September 8th 07 07:51 PM

Macro to switch to calendar/contacts/tasks with folder view in navigation pane
 
On Aug 23, 7:07 am, "Michael Bauer [MVP - Outlook]"
wrote:
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.)


Michael Bauer [MVP - Outlook] September 10th 07 06:48 AM

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


I'm sorry, but writing the code is your task. Show your code and we can
explore together if there are problems.

--
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 Sat, 08 Sep 2007 11:51:10 -0700 schrieb Alex Wenzel:

On Aug 23, 7:07 am, "Michael Bauer [MVP - Outlook]"
wrote:
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.)



All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com