NativeExcel2 for .Net Developer's Reference

IRangeColumn.UngroupMethod

Decreases the outline level of the specified column.

[Visual Basic]
SubUngroup()
[C#]
voidUngroup();
[C++]
voidUngroup();
[JScript]
functionUngroup();

Example

This example ungroups column three on sheet one.

[C#]
 book.Worksheets[1].Range.Columns[3].Ungroup();
[VisualBasic]
 book.Worksheets(1).Range.Columns(3).Ungroup()
[C++]
 book->Worksheets->Item[1]->Range->Columns->Item[3]->Ungroup();

See Also

IRangeColumn Interface | NativeExcel Namespace | Group Method | OutlineLevel Property | ClearOutline Method