A = TextBox1.Value
B = TextBox2.Value
C = TextBox3.Value
[A2:W12000].AutoFilter Field:=18, Criteria1:="*" & A & "*", Operator:=xlOr, _
Criteria2:="*" & B & "*"
以上沒問題,功能可以正常運做
A = TextBox1.Value
B = TextBox2.Value
C = TextBox3.Value
[A2:W12000].AutoFilter Field:=18, Criteria1:="*" & A & "*", Operator:=xlOr, _
Criteria2:="*" & B & "*", Criteria3:="*" & C & "*"