Pane.Close Method

Definition

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 &gt;= 2 Then _ 































































































































































































































































    ActiveDocument.ActiveWindow.ActivePane.</span>
<span class="label">Close</span>

Applies to