Window.DocumentMap property (Word)

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

Syntax

expression. DocumentMap

expression A variable that represents a Window object.

Example

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 = _ 
 Documents.Open(FileName:="C:\Documents\Sales.doc") 
 
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.