AutoFilter Macro

G

Guest

Is it possible to set Criteria1 to > or Equal To "s" ? I tried but could not
get it to work. Thank you in advance.

Dim s as String
s="=" & Range("A2").Value
Selection.AutoFilter Field:=23, Criteria1:= s, Operator:=xlAnd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top