Bewerken

Delen via


Subdocument.Split(Range) Method

Definition

Divides an existing subdocument into two subdocuments at the same level in master document view or outline view.

public:
 void Split(Microsoft::Office::Interop::Word::Range ^ Range);
public void Split (Microsoft.Office.Interop.Word.Range Range);
abstract member Split : Microsoft.Office.Interop.Word.Range -> unit
Public Sub Split (Range As Range)

Parameters

Range
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.

Applies to