I'm trying to filter my data in VBA. The data looks like this:
I want to only display the lines with FAIL written on it. So I have tried
.ListObjects("Table1").Range.AutoFilter Field:=1, Criteria1:="FAIL"
.ListObjects("Table1").Range.AutoFilter Field:=2, Criteria1:="=FAIL"
However it just hides everything. If the data was in the same column I would've used the operator attribute but since it is in different columns I don't really know what to do.
So is it possible to filter unrelated data from different columns?
Thank you in advance.


