property Column.Index as Long

Returns a value that indicates the index of the column in the Columns collection.

TypeDescription
Long A long expression that indicates the index of the column in the Columns collection.

Use the Position property to change the column's position. The Columns collection is zero based, so the Index property starts at 0. The last added column has the Index set to Columns.Count - 1. When a column is removed from the collection, the control updates all indexes. Use the Visible property to hide a column. Use the Columns property to access column from it's index.