If vars("条件").Contains(e.filter) = False Then vars("条件").Add(e.Filter) End If
想撤销,就写代码
If vars("条件").Count > 1 Then Tables("表A").Filter = vars("条件")(vars("条件").Count-2) vars("条件").RemoveAt(vars("条件").Count-1) Else 'vars("条件").Clear 'vars("条件").add(Tables("表A").Filter) End If