Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 949 Bytes

Word.Document.IsSubdocument.md

File metadata and controls

45 lines (28 loc) · 949 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.IsSubdocument property (Word)
vbawd10.chm158007354
vbawd10.chm158007354
Word.Document.IsSubdocument
2b7bcae0-4934-7563-34e2-d5c5ee6deaeb
06/08/2017
medium

Document.IsSubdocument property (Word)

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

Syntax

expression. IsSubdocument

expression A variable that represents a Document object.

Example

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

See also

Document Object

[!includeSupport and feedback]