Subdocument.Split(Range) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.