criteria 1:= Array("<>David","<>Steven") .... Isn't working in vb Macro excel
Please help me, why not working when I give comparison not equals in Array by Filter.
criteria 1:= Array("<>David","<>Steven") .... Isn't working in vb Macro excel
Please help me, why not working when I give comparison not equals in Array by Filter.
You can specify up to two 'does-not-equal' criteria in an AutoFilter.
with myFilterRange
.AutoFilter Field:=1, Criteria1:="<>David", _
Operator:=xlAnd, Criteria2:="<>Steven"
end with
For additional 'does-not-equal' criteria, see Excel VBA autofilter all but three.