Opening the Document Map by Default

by Allen Wyatt
(last updated June 26, 2018)

1

One of the features that Word provides for working with a document is referred to as the Document Map. How you use this feature has been discussed in other issues of WordTips. Exactly when the Document Map pops up, however, may seem a bit confusing—until you understand how Word uses this tool.

The first thing to understand is that there is no Document Map "setting" that is saved with a document. Instead, the Document Map is either on or off within the current environment, on a document-by-document basis. Thus, you can have two documents open at the same time, and be using the Document Map in only one of them. If you are viewing the document that has the Document Map turned on, and you open or create another document, then Word assumes you want the Document Map turned on for the new document, as well. If you are viewing the document that is not using the Document Map and you open or create another document, then Word assumes you don't want to use the Document Map for the new document.

If you want to make sure that the Document Map is always open for specific documents, then the only way to accomplish this is through the use of a macro that is saved with those specific documents. The following macro will do the trick, if you save it as part of the ThisDocument object for the document in question:

Private Sub Document_Open()
    ThisDocument.ActiveWindow.DocumentMap = True
    ThisDocument.ActiveWindow.DocumentMapPercentWidth = 20
End Sub

This little macro makes sure that the Document Map is open, and that it is set to 20% of the width of the program window. (You can change the percentage, if desired.) The caveat to remember with this macro is that while it turns the Document Map on, the Document Map will also be on for any other documents that you open while viewing this particular document. (Remember—that's the way Word treats the Document Map feature, as described earlier.)

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1628) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Repaginating Your Document in a Macro

When processing a document with a macro, you may need to have the macro repaginate the text. It's easy to do using the ...

Discover More

Intelligently Starting a New Paragraph

When using styles in a document, you can increase your productivity by letting Word know what paragraph style you expect ...

Discover More

Jumping to a Range

Need a quick way to jump to a particular part of your worksheet? You can do it by using the Go To dialog box.

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (menu)

Controlling the Outline in the Document Map

When you display the Document Map, you are essentially looking at an outline of the document at the same time as you ...

Discover More

Understanding the Document Map

The Document Map is a handy way to view the overall organization of your document as you are working with it. It is like ...

Discover More

Navigating In the Document Map

Using the Document Map to navigate through your document is easy and intuitive. The value of using it for navigation is ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six more than 7?

2017-09-08 18:50:28

Amy

Have you ever discovered a way to get the Document map to display styles other than Header-type of styles? Thanks for considering!


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.