IsSubdocument Property
TOC
Collapse the table of content
Expand the table of content

Document.IsSubdocument Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .IsSubdocument

expression A variable that represents a Document object.

This example determines whether Sales.doc is a subdocument and then displays a message indicating the status of Sales.doc.

If Documents("Sales.doc").IsSubdocument = True Then 
 MsgBox "Sales.doc is a subdocument." 
Else 
 MsgBox "Sales.doc is not a subdocument." 
End If
Show:
© 2016 Microsoft