Gandalf
Member
Hello All
I hope someone may be able to help me. I can generate 2 lists of unique data from 2 columns that I then use in list boxes on another sheet using the code below
Is it possible to add something to this to automatically sort the data?
Many thanks in advance for any help.
Gandalf
I hope someone may be able to help me. I can generate 2 lists of unique data from 2 columns that I then use in list boxes on another sheet using the code below
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
ActiveSheet.Range("C2:C311").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=ActiveSheet.Range("K2"), Unique:=True
ActiveSheet.Range("F2:F311").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range("L2"), Unique:=True
End Sub
Is it possible to add something to this to automatically sort the data?
Many thanks in advance for any help.
Gandalf