This VBA solution does the same thing, by selecting a specific Task folder when you open the Task navigation module.
My Tasks are in Tasks, and I am constantly selecting that list to view, but Outlook thinks it should default back to the To-Do List, which is not where my Tasks are. Our usual recommended solution is to create a custom view that includes only tasks and/or only tasks from a specific Tasks folder.
Go back to Outlook, select the To-do folder then switch to Mail, then back to Tasks.
The Tasks folder in the My Tasks section will be selected. Item(2) You'll need to sign the macro when you are done testing it or set Outlook's macro security to allow unsigned macros.
Open the VBA Editor using Alt+F11 and paste the following code in This Outlook Session. The index number in the following line controls which folder is selected when you switch to the Task Folder. For example, to always use my "New Stuff" folder in the screenshot above, I'd change the index number to 5. Dim With Events obj Pane As Navigation Pane Private Sub Application_Startup() Set obj Pane = Application. Navigation Pane End Sub Private Sub obj Pane_Module Switch(By Val Current Module As Navigation Module) Dim obj Module As Tasks Module Dim obj Group As Navigation Group Dim obj Nav Folder As Navigation Folder If Current Module.
Navigation Module Type = ol Module Tasks Then Set obj Module = obj Pane. Get Navigation Module(ol Module Tasks) Set obj Group = obj Module. Is Selected = True End If Set obj Nav Folder = Nothing Set obj Group = Nothing Set obj Module = Nothing End Sub First: You will need macro security set to low during testing.
Navigation Groups("My Tasks") ' Change the 2 to start in a different folder Set obj Nav Folder = obj Group. To check your macro security in Outlook 2010 or 2013, go to File, Options, Trust Center and open Trust Center Settings, and change the Macro Settings.
In Outlook 2007 and older, it’s at Tools, Macro Security.After you test the macro and see that it works, you can either leave macro security set to low or sign the macro.Open the VBA Editor by pressing Alt+F11 on your keyboard.To use the macro code in This Outlook Session: A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book.She also created video training CDs and online training classes for Microsoft Outlook.You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and Tech Net forums.