CONFUSED_AS_USUAL
Board Regular
- Joined
- Jul 6, 2017
- Messages
- 59
The macro below works fine upto and including Criteria2. I manually added Criteria3 using Criteria2 as a template. It does not work.
What syntax am I missing ?
Thx
Sub X_3B()
'
' X_3B Macro
'
'
Range("F4").Select
ActiveSheet.Range("$A$4:$AD$150000").AutoFilter Field:=6, Criteria1:="=3B*" _
, Operator:=xlOr, Criteria2:="=CG*"_, Operator:=xlOr, Criteria3:="=AN*"
End Sub
What syntax am I missing ?
Thx
Sub X_3B()
'
' X_3B Macro
'
'
Range("F4").Select
ActiveSheet.Range("$A$4:$AD$150000").AutoFilter Field:=6, Criteria1:="=3B*" _
, Operator:=xlOr, Criteria2:="=CG*"_, Operator:=xlOr, Criteria3:="=AN*"
End Sub