NamedRange.Ungroup Method

Definition

Promotes the NamedRange control in an outline (that is, decreases its outline level).

public:
 System::Object ^ Ungroup();
public object Ungroup ();
abstract member Ungroup : unit -> obj
Public Function Ungroup () As Object

Returns

Remarks

The NamedRange control must be a row or column, or a range of rows or columns. If the NamedRange control is in a PivotTable report, this method ungroups the items contained in the NamedRange control.

Applies to