Open Document Map automatically on specific document only

L

Lori

Is it possible to have the Document Map in Word 2007 open automatically for a
specific document only? When any other Word document is open the Document Map
would not automatically open. Thanks in advance for any replies!
 
G

Graham Mayor

Create an autoopen macro (or add to an existing autoopen macro) in
normal.dotm the following

If ActiveDocument.name = "Filename.docx" Then
ActiveWindow.DocumentMap = True
Else
ActiveWindow.DocumentMap = False
End If

where filename is the name of the document in question.
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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