Add Method (Panes Collection) Example

The following example splits the active window such that the top pane is 30 percent of the total window size.

ActiveDocument.ActiveWindow.Panes.Add SplitVertical:=30