Поделиться через


NamedRange.Ungroup Method

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Function Ungroup As Object
Object Ungroup()

Return Value

Type: System.Object

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.

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace