Hi everyone
I would like to sort the column F in ascending with row one as header. The spreadsheet have 13 columns up to column M, I have done the code below but it needs debug:
Please could anyone tell me how to amend it? Many thanks.
I would like to sort the column F in ascending with row one as header. The spreadsheet have 13 columns up to column M, I have done the code below but it needs debug:
Code:
Range("A2:M", Range("F" & Rows.Count).End(xlUp)).Sort _
Key1:=Range("F2"), Order1:=xlAscending
Please could anyone tell me how to amend it? Many thanks.