S.H.A.D.O.
Well-known Member
- Joined
- Sep 6, 2005
- Messages
- 1,915
Good afternoon,
I have the code...
The numbers in column B are 1-14. When the code above is run, it puts 14 at the top and then the numbers 1-13 below the 14.
Thanks in advance.
I have the code...
Code:
With ActiveSheet
.Sort.SortFields.Clear
.Sort.SortFields.Add Key:=Range("B56:B69"), Order:=xlAscending
End With
With ActiveSheet.Sort
.SetRange Range("B56:M69")
.Apply
End With
Range("O2").Select
The numbers in column B are 1-14. When the code above is run, it puts 14 at the top and then the numbers 1-13 below the 14.
Thanks in advance.