method Columns.Remove (Index as Variant)

Removes a specific member from the Columns collection.

TypeDescription
Index as Variant A long expression that indicates the column's index, a string expression that indicates the column's caption or the columns' key.

The Remove method removes a column from the Columns collection. The RemoveColumn event is called when user removes a column. Use Clear method when you need to remove all column objects. Use the Visible property to hide a column.  Use the RemoveItem to remove an item.