Hi, I've managed to find some VBA code on Google that will automatically order my data (below), but it's not quite what I need.
I'm looking at entering a job number in column A, an order in column B and then text in column C.
Once the text is entered in C, I'd like my data to automatically re-order by A then B.
Is this do-able? If so, can someone help me out?
Thanks in advance.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
Range("A1").Sort Key1:=Range("A2"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom End Sub
I'm looking at entering a job number in column A, an order in column B and then text in column C.
Once the text is entered in C, I'd like my data to automatically re-order by A then B.
Is this do-able? If so, can someone help me out?
Thanks in advance.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
Range("A1").Sort Key1:=Range("A2"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom End Sub