YasserKhalil
Well-Known Member
Hello everyone
I have this line of code
I need to Criteria3 which is
How could add this third criteria?
I tried something like that
But it doesn't work for me
To get it work I had to make a new line after the first line but also doesn't work as expected
I have this line of code
Code:
Range("A1:A" & LR).AutoFilter Field:=1, Criteria1:="<>", Operator:=xlAnd, Criteria2:="<>" & "Yasser" & "*"
Code:
Criteria3:="<>" & "Any String I will Specify"
How could add this third criteria?
I tried something like that
Code:
Sub Testo()Dim ar As Variant
Dim i As Integer
ar = Array("=FG1F*", "=FG2F*", "=FG1E0??")
For i = 0 To UBound(ar)
Range("A1:B359").AutoFilter 1, ar(i)
Next
End Sub
But it doesn't work for me
To get it work I had to make a new line after the first line but also doesn't work as expected