Expand Minimize

Document.IsMasterDocument Property (Word)

True if the specified document is a master document. Read-only Boolean.

expression .IsMasterDocument

expression A variable that represents a Document object.

A master document includes one or more subdocuments.

If the active document is a master document, this example switches to master document view and opens the first subdocument.

If ActiveDocument.IsMasterDocument = True Then 
 ActiveDocument.ActiveWindow.View.Type = wdMasterView 
 MsgBox "This document is not a master document." 
End If
© 2015 Microsoft