How can I force the document map to only display level 1 headings

C

cliffhayes

Does anyone know the macro magic that will make Word display only level 1
headings? I use document map all the time, and each time I open a document,
I have to right-click the map and display level 1. Want that done
automagically.

Thanks
 
T

Tony Jollans

The statement you need in a Document_Open routine is ..

ActiveWindow.View.ShowHeading 1
 
C

cliffhayes

Ok, that worked. Now, how do I get it to run whenever I open any document?
If that's not possible, I guess I'll have to add it to every document (sigh).
How do I do that?
 
T

Tony Jollans

Auto Open macros run from either documents or attached templates. If most of
your documents use one or two templates then you can put the code in those
templates. In a more varied environment you will probably want to use the
Application DocumentOpen event
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top