This is my code, a query refresh changes the values on the screen which I want to trigger the macro but it doesn't?
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("AA7") <> Range("AA8") And Range("E2") = "ON" Then
Run ("MACRO1")
Else
Exit Sub
End If
End Sub
Bookmarks