Dim str As String = "aaa"
Dim filter As String = "1=2"For Each dc As Col In Tables("表A").Cols filter &= " or convert(" & dc.Name & ",'System.String') like '%" & str & "%'"Next
Tables("表A").Filter = filter