ColumnClick

Occurs when a ColumnHeader object in a ListView control is clicked. Only available in Report view.

Syntax

Private Sub object_ColumnClick(columnheader[index])

The ColumnClick event syntax has these parts:

Part Description
object An object expression that evaluates to a ListView control.
columnheader A reference to the ColumnHeader object that was clicked.

Remarks

The Sorted, SortKey, and SortOrder properties are commonly used in code to sort the ListItem objects in the clicked column.