jkurtz,
Welcome to the forum!
Attached is an example workbook based on the criteria you described.
It uses the worksheet double-click event to sort the data by that double-clicked column header ascending.
In the Sheet1 code module:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Me.Range("A1:D1")) Is Nothing Then
Target.CurrentRegion.Sort Target, xlAscending, Header:=xlYes
Cancel = True
End If
End Sub
Also, from a security standpoint, you should never trust access to the VBA project object model.
Bookmarks