Subdocument.Split Method
Divides an existing subdocument into two subdocuments at the same level in master document view or outline view.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub Split ( _
Range As Range _
)
'Usage
Dim instance As Subdocument
Dim Range As Range
instance.Split(Range)
void Split(
Range Range
)
Parameters
- Range
Type: Microsoft.Office.Interop.Word.Range
Required Range object. The range that, when the subdocument is split, becomes a separate subdocument.
Remarks
The division is at the beginning of the specified range. If the active document isn't in either master document or outline view, or if the range isn't at the beginning of a paragraph in a subdocument, an error occurs.