perhaps this will work for you just past into a1 including title,
on attached try it out select column h and paste into a1 then try column j and paste into a1
code is
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Application.CutCopyMode
Case xlCopy
Call uniquesort
End Select
End Sub
Sub uniquesort()
Application.Wait Now + TimeSerial(0, 0, 2)
Columns("A:A").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Columns( _
"C:C"), Unique:=True
Columns("C:C").Select
Selection.Sort Key1:=Range("C2"), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End Sub
it goes in a worksheet module for sheet you require sorting
Bookmarks