title: Use autofilter on more than 2 criteria
body: <p>How do you use VBA autofilter on more than 2 variables - I keep getting the error message: </p>
  
  <blockquote>
    <p>Named argument not found</p>
  </blockquote>
  
  <p>Code below:</p>
  
  <pre><code>.AutoFilter Field:=1, Criteria1:="HP Compaq 6000", Operator:=xlOr, Criteria2:="HP Compaq 8000", Operator:=xlOr, Criteria3:="HP Compaq 8200", Operator:=xlOr, Criteria4:="HP Compaq 8200 Elite", Operator:=xlOr, Criteria5:="HP Compaq dc5800", Operator:=xlOr, Criteria6:="HP Compaq dc7900", Operator:=xlOr, Criteria7:="HP Compaq Elite 8300 SFF", Operator:=xlOr, Criteria8:="HP Compaq Pro 8300 SFF"
  </code></pre>
  
  <p>I would like to know if it is possible to filter data with more than 2 criteria in the same column using the AutoFilter. If there isn't, is there another way to accomplish this objective?</p>