Compartilhar via


Window.Split Property

Word Developer Reference

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

Syntax

expression.Split

expression   Required. A variable that represents a Window object.

Example

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

Visual Basic for Applications
  ActiveDocument.ActiveWindow.Split = True

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

Visual Basic for Applications
  If Windows("Document1").Split = True Then
    Windows("Document1").ActivePane.Close
End If

See Also