Results 1 to 15 of 15

Thread: VBA Autofilter 3 Criteria

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    VBAX Newbie
    Joined
    Sep 2019
    Posts
    1
    Location
    Hi guys

    not sure if it helps any people looking for a solution in the future but I used this code and it worked well for me to set up multiple criteria in separate columns:

    'here is 1 criterion in column 8
    ActiveSheet.Range("$B$4:$HB$3016").AutoFilter field:=8, Criteria1:="TBD"
    'here are multiple criteria in column 18
    ActiveSheet.Range("$B$4:$HB$3016").AutoFilter field:=18, Criteria1:=Array("Started", "On hold", "Not started"), Operator:=xlFilterValues
    hope this helps someone
    Last edited by Aussiebear; 01-26-2025 at 08:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •