Window.DocumentMap property (Word)

True if the document map is visible. Read/write Boolean.


expression. DocumentMap

expression A variable that represents a Window object.


This example toggles the document map for the active window.

ActiveDocument.ActiveWindow.DocumentMap = _ 
 Not ActiveDocument.ActiveWindow.DocumentMap

This example displays the document map in the window for Sales.doc.

Dim docSales As Document 
Set docSales = _ 
docSales.ActiveWindow.DocumentMap = True

See also

Window Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.