Partager via


Subdocuments Members (Word)

A collection of Subdocument objects that represent the subdocuments in a range or document.

Methods

Name

Description

AddFromFile

Adds the specified subdocument to the master document at the start of the selection and returns a Subdocument object.

AddFromRange

Creates one or more subdocuments from the text in the specified range and returns a SubDocument object.

Delete

Deletes the collection of subdocuments.

Item

Returns an individual Subdocument object in a collection.

Merge

Merges the specified subdocuments of a master document into a single subdocument.

Select

Selects the specified subdocument.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of subdocuments in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Expanded

True if the subdocuments in the specified document are expanded. Read/write Boolean.

Parent

Returns an Object that represents the parent object of the specified Subdocuments object.