K
Khalil Handal
Hi,
I have recorded this macro to sort a list of names up to 45 names. Not all
the names are written.
Private Sub CommandButton5_Click()
Range("B14:FQ58").Select
Selection.Sort Key1:=Range("F14"), Order1:=xlAscending
.Range("B14").Select
End Sub
When I run the macro all the EMPTY LINES are at the begining.
What changes should be done to the code so as to keep the empty line be at
the END and still have the assending order for the list?
I have recorded this macro to sort a list of names up to 45 names. Not all
the names are written.
Private Sub CommandButton5_Click()
Range("B14:FQ58").Select
Selection.Sort Key1:=Range("F14"), Order1:=xlAscending
.Range("B14").Select
End Sub
When I run the macro all the EMPTY LINES are at the begining.
What changes should be done to the code so as to keep the empty line be at
the END and still have the assending order for the list?