smartpat19
Board Regular
- Joined
- Sep 3, 2014
- Messages
- 114
I am trying to automatically update this advanced filter when the criteria is changed ("A2:I2"), my code is below. I'm trying to keep the source data in a table since this will always be updated with new data, but if there's another solution, let me know. Thanks.
Windows 7, Excel 2013.
Code:
Private Sub Worksheet_Change(ByVal Target As Range) Sheets("Filtered Data").ListObjects("Table2").Range.AdvancedFilter xlFilterCopy, Sheets("Anchored Retail").Range("A2:I2"), Range("A5:I5")
End Sub
Windows 7, Excel 2013.
Last edited: