Hello . When I filter the column with only two criteria , it works well . But when I add 1 more criteria , it does not display the desired result. Does anyone know how I can filter 3 text criteria in this column ?
Materials (Table)
Office chair
Blue Computer Chair
Red Computer Chair
Pink Computer Kids Chair
Set of pens
Post it
Case
Notebook with logo
Black pencil 2
Black pencil 5
Transparent ruler
Opaque ruler
Materials (Table)
Office chair
Blue Computer Chair
Red Computer Chair
Pink Computer Kids Chair
Set of pens
Post it
Case
Notebook with logo
Black pencil 2
Black pencil 5
Transparent ruler
Opaque ruler
Code:
Sub filterTextNcriteria()
'
' filterTextNcriteria Macro
'
ActiveSheet.Range("A2:A13").AutoFilter Field:=1, Criteria1:=Array("*chair*", "black*", "*ruler*"), Operator:=xlFilterValues
'ActiveSheet.Range("A2:A13").AutoFilter Field:=1, Criteria1:=Array("*chair*", "black*"), Operator:=xlFilterValues
End Sub