1

Row has a header and the rest rows are values: In the following example where how can I remove just the Criteria2 while keeping Criteria1 intact. Criteria1 has been set manually and I don't know it's value when the macro is run.

Set sht1 = ThisWorkbook.Sheets(1)

sht1.Rows("1:1").AutoFilter Field:=1, Criteria1:=">10", Operator:=xlOr, Criteria2:="<20"
Yane
  • 807
  • 8
  • 16

0 Answers0