An Outlook 2016 user had a problem with the navigation pane randomly disappearing.
I recently noticed that occasionally when Outlook is launched, the left navigation panel (folder panel) becomes hidden. The only way to make it visible is by setting View, Folder Pane to Normal. I tried both "outlook /resetnavpane" and "outlook /cleanviews" commands but those didn't work.
If any switch could fix it, it would be /resetnavpane, as resetnavpane resets the navigation pane to Outlook's default. The /cleanviews switch resets the views on folders to the defaults, removing all customizations and custom views. It would not affect the navigation pane.
Now back to the problem of the navigation pane disappearing. We don't have a lot of information on it at the moment but Microsoft is investigating and have a repro. I initially thought it might be related to hi-resolution monitors as hi-res seems to cause a number of problems in Outlook, but not only is a small group of users affected, they have a wide assortment of machines.
At this time the only solution is to turn the pane back on from the View tab, Folder Pane button. You can try using the keyboard shortcut Alt+F1 to cycle through on, off, and minimized, but some of the affected users said it didn't work.
This macro turns the navigation pane on each time you start Outlook. It has a 1 second delay to give the Outlook window time to open. If that is not long enough on your computer, increase the number a second or two at a time unti lthe window opens.
Private Sub Application_Startup() TurnonNav End Sub Sub TurnonNav() Dim myOlExp As Outlook.Explorer Dim myTime myTime = Now + TimeValue("00:00:01") Do Until myTime < Now DoEvents Loop Set myOlExp = Application.ActiveExplorer myOlExp.ShowPane olNavigationPane, True End Sub
How to use the macro
First: You will need macro security set to low during testing.
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. If Outlook tells you it needs to be restarted, close and reopen Outlook. Note: after you test the macro and see that it works, you can either leave macro security set to low or sign the macro.
Now open the VBA Editor by pressing Alt+F11 on your keyboard.
To use the macro code in ThisOutlookSession:
- Expand Project1 and double click on ThisOutlookSession.
- Copy then paste the macro into ThisOutlookSession. (Click within the code, Select All using Ctrl+A, Ctrl+C to copy, Ctrl+V to paste.)
Application_Startup macros run when Outlook starts. If you are using an Application_Startup macro you can test the macro without restarting Outlook by clicking in the first line of the Application_Startup macro then clicking the Run button on the toolbar or pressing F8.
More information as well as screenshots are at How to use the VBA Editor.