dwbrown.
If you wish to sort the same range every time, the use the following steps:
-------------------------
1) insert a hyperlink into a cell on your worksheet. make this hyperlink refer to the cell itself.
2) open the vbeditor and look at the project menu. double-click on the worksheet containing the hyperlink.
3) paste the following code:
Code:
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
Range("XX").Sort Key1:=Range("YY"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End Sub
4) Replace "XX" with the address of the range you wish to sort ("A1:A5", "I:I", etc.)
5) Replace "YY" with the address of the range key (the cell at the top of the column you wish to sort by)
---------------------------
To run this code, all you have to do is click on the hyperlink. If you wish to do a descending sort rather than ascending, change Order1:=xlAscending to Order1:=xlDescending.
Hope that helps. Ben.