property Columns.ItemBySortPosition (Position as Variant)
as Column
Returns a Column object giving its sorting position.
Type
Description
Position as Variant
A long expression that indicates the position of column being requested.
Column
A Column object being accessed.
Use the ItemBySortPosition property to get the list of
sorted columns in their order. Use the SortPosition
property to specify the position of the column in the sorting columns
collection. Use the SingleSort property to
specify whether the control supports sorting by single or multiple columns.
Use the SortOrder property to sort a column
programmatically. The SortBarColumn
/ SortBarColumnsCount properties
can be used to enumerate the columns in the control's sort bar.