Hi there,
Using the recorder and some programming I've created the following code which (hopefully) meets your needs:
Dim lngSortTo As Long
Dim strActiveCell As String
lngSortTo = Sheets("WeightData").Range("A65536").End(xlUp).Row
strActiveCell = ActiveCell.Address(False, False)
Range("A6:A" & lngSortTo).Select
Selection.Sort Key1:=Range("A6"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Range(strActiveCell).Select
Let me know how it goes or if you have any queries.
Cheers,
Robert
Bookmarks