Hi,
I am trying to write a macro to order a spreadsheet of data.
I wish to create a macro to order each column in alphabetical order from columns G to column BD.
So far I have the following:
Sub Sort
Range("G6:G1000").Sort _
Key1:=Range("G1"), Header:=xlYes
Range("H6:G1000").Sort _
Key1:=Range("H1"), Header:=xlYes
End Sub
With this I have 2 problems:
1) If a cell begins with a letter the macro just removes it. I would like to order each column first by numbers and then by letters, for example:
0
1
2
5
9
A
C
F
Z
2) I dont fancy copying and pasting the formula over 100 times, I am sure there is an easier way to write this.
Best Regards,
Smuntl
Bookmarks