Hi,
Im looking to auto sort a column in sheet3, when data i, column J of sheet1 is changed, i currently have the bellow but it doesnt work?
any help is greatly appreciated
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Not Intersect(Target("sheet1").Range("J:J")) Is Nothing Then
Range("A3").Sort Key1:=Range("A4"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End If
End Sub
Im looking to auto sort a column in sheet3, when data i, column J of sheet1 is changed, i currently have the bellow but it doesnt work?
any help is greatly appreciated
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Not Intersect(Target("sheet1").Range("J:J")) Is Nothing Then
Range("A3").Sort Key1:=Range("A4"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End If
End Sub