filter the value which should not start with string

suryu

Member
Local time
Tomorrow, 04:22
Joined
Apr 3, 2020
Messages
86
I want to filter the column value which should not contain string starting with "Bank", "HDFC", "SBI"

trying to do below code but not getting required results

Activesheet.Range("$A$1:$CT & lastRow").AutoFilter Field:=13, Criteria1:=Array("<>Bank*", "<>HDFC*","<>SBI*")
 
I think you might be limited to two criteria using that technique.
I was reading this:
includes some possible workarounds.
 
yes that is the issue for two criteria it is working fine
 

Users who are viewing this thread

Back
Top Bottom