I am having an issue making a continuous macro work. I have a filter set on a 'dashboard' sheet, which pulls information from a different sheets. I would like the macro to auto run, continuously updating the filter when ever the cells in the source sheet update. My code is below: what needs amending?
thanks so much. (S&P500 is source sheet. Dashboard is sheet with the Macro on)
Sub Yes ()
'
' Yes Macro
'
'Private Sub S&P500Stocks_Activate()
ActiveSheet.Range("$A$1:$E$499").AutoFilter Field:=1, Criterial:="Yes", _
Operator:=xlAnd
'Private Sub S&P500Stocks_Change(ByVal Target As Range)
ActiveSheet.Range("$A$1:$E$499").AutoFilter Field:=1, Criterial:="Yes", _
Operator:=xlAnd
End Sub
Help would be awesome