Hello everyone
I found the vba code to alphabetize the table, I type in "command button" but it is not working.
Code
Sub Sort_A()
With Sheets("Viaggio")
.Range("A2:A1027").Sort Key1:=.Range("A2"), Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
End With
End Sub
or is there an automatic vba macro that can do this?
Let it sort alphabetically as data is added.