I want to AutoFilter column B to filter out the rows with favourite colour as red.
I've managed to automate it as follows and it works fine:
ActiveSheet.Range("$A$1:$B$8").AutoFilter Field:=2, Criteria1:=_
"=BLUE", Operator:=xlOr, Criteria2:="YELLOW", Operator:=xlOr, Criteria3:=_
"=PURPLE", Operator:=xlOr, Criteria4:="WHITE"
I have 4 criteria's. I was wondering if it's possible to use only one criteria that filters out the colour red instead?