Split Property

Microsoft Word Visual Basic

Split Property

       

True if the window is split into multiple panes. Read/write Boolean.

expression.Split

expression   Required. An expression that returns a Window object.

Example

This example splits the active window into two equal-sized window panes.

ActiveDocument.ActiveWindow.Split = True

If the Document1 window is split, this example closes the active pane.

If Windows("Document1").Split = True Then
    Windows("Document1").ActivePane.Close
End If