bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Files > Opening the Document Map by Default

Opening the Document Map by Default

Summary: The Document Map can be a handy tool to use when navigating and working with a large document. If you want the Document Map to always be visible with certain documents, the only way you can ensure this is by using a macro, as detailed in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

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.)

Tip #1628 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003


Create and Merge! Using Word's mail merge tool you can quickly and easily combine data from a variety of data sources to create great individualized documents that incorporate your data in ways that you control. WordTips: Mail Merge Magic is an invaluable source for learning how to harness the full power of Word's mail merging capabilities.
 
Check out WordTips: Mail Merge Magic today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)