Pane.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes the specified Mail Merge data source, pane, or task.
public:
void Close();
public void Close ();
abstract member Close : unit -> unit
Public Sub Close ()
Examples
This example closes the active pane if the active window is split.
<span class="label">If ActiveDocument.ActiveWindow.Panes.Count >= 2 Then _
ActiveDocument.ActiveWindow.ActivePane.</span>
<span class="label">Close</span>