by Allen Wyatt
(last updated April 14, 2016)
Ihor creates a lot of structured documents using Word styles and finds the Navigation pane a really great tool. He notes, though, that there doesn't seem to be any way to display this pane automatically when a document is first opened. Ihor wonders how he can make sure it is always displayed.
Before getting into the answer, a snapshot of history is in order. In Word 2007 there is no Navigation pane. It has what was referred to as the Document Map. This feature was expanded in Word 2010 to become what is now known as the Navigation pane. In Word 2007 you can display the Document Map by clicking the View tab of the ribbon and putting a checkmark in the Document Map check box, in the Show group. If you look at the Show group in Word 2010 and Word 2013, you won't find the Document Map check box there; instead you find the Navigation Pane check box.
In Word 2010 and Word 2013, pressing Ctrl+F brings up the Navigation pane and "checks" the Navigation Pane check box. In Word 2007 this shortcut key brings up the Find tab of the Find and Replace dialog box. The reason is because Word folded simple searching tasks into the Navigation pane, so that is what is displayed.
When you turn on the Navigation pane (or, in Word 2007, the Document Map) it is "sticky." This means that when you exit Word and come back into the program, the Navigation pane (or Document Map) are displayed by default. Thus, if you want the pane/map to be visible, simply make sure that it is visible when you exit Word.
You can, if you want, use a macro to enforce the display of the Navigation pane (or Document Map). There are actually two ways you can do this, both methods requiring a single VBA statement. The following statement will work in Word 2007 through Word 2013:
ActiveWindow.DocumentMap = True
This statement won't work in Word 2007, but it will work in Word 2010 and Word 2013:
CommandBars("Navigation").Visible = True
Either approach (depending on your version of Word) is fine and results in the Navigation pane (or Document Map) being displayed. You could place the statement within an AutoOpen macro for the Normal template, which would mean that any time you open an existing document, the macro is run and the Navigation pane displayed. For good measure, you could also place your preferred VBA statement inside an AutoNew macro, which would mean it would be executed every time a new document is created.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (3579) applies to Microsoft Word 2007, 2010, and 2013.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Want to know the absolute value of a number? It's easy to derive in VBA by using the Abs function.Discover More
Spend any time creating Word macros, and sooner or later you will need to repeat some of your programming code a certain ...Discover More
When using a macro to process a document in some way, you often need to know the number of paragraphs in the document. (This ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.