Expand Minimize
This topic has not yet been rated - Rate this topic

Document.IsMasterDocument Property (Word)

Published: July 16, 2012

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

Community Additions

© 2014 Microsoft. All rights reserved.