I am trying to automatically sort the sheet "Sortable" when values are entered into column E on the tab "Data". I have the following code on the Data Sheet, but it still sorts Data, not Sortable.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Not Intersect(Target, Range("E:E")) Is Nothing Then
Sheets(“Sortable”).Select
Range("E1").Sort Key1:=Range("E2"), _
Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End If
End Sub