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)

object Ungroup()

Return Value

Type: System.Object

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft