Syntax
ClosePane
Remarks
Closes a pane. Use this statement to close the lower pane in a split document window, a footnote pane, or any other kind of pane. ClosePane generates a WordBasic error if no pane is open in the active document. Note that ClosePane does not close a document window.
Example
This example closes the lower pane in the active document if the window is split:
If DocSplit() Then ClosePane
See Also
DocSplit, OtherPane, WindowPane()