property Column.Index as Long

Returns a value that represents the index of an object in a collection.

TypeDescription
Long A long expression that represents the index of an object in a 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 group updates all indexes.