Open Document Map automatically on specific document only

  • Thread starter Thread starter Lori
  • Start date Start date
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!
 
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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top