A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 18th 07, 09:17 PM posted to microsoft.public.outlook.program_vba
Alex Wenzel
external usenet poster
 
Posts: 3
Default 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

Ads
  #2  
Old August 21st 07, 09:24 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

  #3  
Old August 22nd 07, 09:38 PM posted to microsoft.public.outlook.program_vba
Alex Wenzel
external usenet poster
 
Posts: 3
Default 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



  #4  
Old August 23rd 07, 07:07 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

  #5  
Old September 8th 07, 08:51 PM posted to microsoft.public.outlook.program_vba
Alex Wenzel
external usenet poster
 
Posts: 3
Default 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.)

  #6  
Old September 10th 07, 07:48 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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.)

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar entry in Folder List and Calendar in Navigation Pane CityCarole Outlook - Calandaring 1 March 20th 07 02:10 AM
switch view to Tasks pane sumGirl Outlook - General Queries 1 January 2nd 07 07:28 PM
My contacts folder disappeared from the navigation pane Lois Bailey Outlook - Using Contacts 5 June 5th 06 09:41 PM
My Contacts folder no longer shows in the navigation pane MunchkinQueen Outlook - Using Contacts 3 March 30th 06 04:18 PM
How do I change navigation pane in calendar view? mjw658 Outlook - Calandaring 5 March 13th 06 07:08 PM


All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.