I’m trying to filter my data using 2 columns and 2 different filter requirements.
ActiveSheet.AutoFilterMode = False
ActiveSheet.Range("$K$2:$ZZ$200").AutoFilter Field:=5, Criteria1:="yes"
ActiveSheet.Range("E:E").AutoFilter Field:=1, Criteria1:="Low"
If I filter by either "yes" or "Low" separately it works. However, if I try and filter range K2-ZZ200 by "yes" and then Column E by "Low" it seems to hide everything.
How can I filter by both?
You have to use the same
Range("$K$2:$ZZ$200")for bothAutoFilterstatements:Also, you may need to set
ActiveSheet.AutoFilterMode = True, but I’m not entirely sure.