DocumentMap Property

Microsoft Word Visual Basic

DocumentMap Property

       

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

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