Subdocument.Expanded Property
Word Developer Reference |
True if the subdocuments in the specified document are expanded. Read/write Boolean.
Syntax
expression.Expanded
expression A variable that represents a Subdocument object.
Example
This example expands all subdocuments in the active master document.
Visual Basic for Applications |
---|
|
This example switches the Expanded property between expanding all subdocuments in the active window and collapsing all subdocuments in the active document.
Visual Basic for Applications |
---|
|
This example determines whether the subdocuments in Report.doc are expanded and then displays a message indicating their status.
Visual Basic for Applications |
---|
|
See Also