Panes Property
Returns a Panes collection that represents the panes in the document window. Read-only.
Example
This example tests for the number of panes in the active window. If the value is one, indicating any view other that normal view, normal view is activated.
If ActiveWindow.Panes.Count = 1 Then
ActiveWindow.ViewType = ppViewNormal
End If
Applies to | DocumentWindow Object
See Also | Pane Object | Panes Collection Object | Windows Property | Working with Panes and Views