yesis this a data validation dropdown ?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
If Not Intersect(Target, Range("K:K")) Is Nothing Then
Range("K1").Sort Key1:=Range("K1"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
Application.DisplayAlerts = True
End If
End Sub
I may have been wrong when I said ‘YES’ because I can’t get the macro in the Sheet Module to work..
Lets say you have your list in Col K ...
If you place this macro in the Sheet Module, it will auto-sort anything that is entered into Column K, Alphabetically from A - Z.
Code:Private Sub Worksheet_SelectionChange(ByVal Target As Range) On Error Resume Next If Not Intersect(Target, Range("K:K")) Is Nothing Then Range("K1").Sort Key1:=Range("K1"), _ Order1:=xlAscending, Header:=xlYes, _ OrderCustom:=1, MatchCase:=False, _ Orientation:=xlTopToBottom Application.DisplayAlerts = True End If End Sub