Split Property

Microsoft Word Visual Basic

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