Link to home
Start Free TrialLog in
Avatar of randybucao
randybucaoFlag for Canada

asked on

VBA Excel Autofilter 3 Criteria

Sub SP120others()

    Sheets("receivables").Select

    ActiveSheet.ListObjects("Table_Query_from_SME_SQL3").Range.AutoFilter Field:= _
        9, Criteria1:="<>Name One", Operator:=xlAnd, Criteria2:="<>Name Two"
End Sub

==============================================================

Would someone know how to tweak the above code to show 3 Criterias instead? Thank you.
ASKER CERTIFIED SOLUTION
Avatar of wshark83
wshark83
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial