NamedRange.Ungroup Method (2007 System)
Promotes the NamedRange control in an outline (that is, decreases its outline level).
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Function Ungroup As Object
'Usage
Dim instance As NamedRange
Dim returnValue As Object
returnValue = instance.Ungroup()
public Object Ungroup()
public:
Object^ Ungroup()
public function Ungroup() : Object
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.