• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Filter with a textbox value

Mr.Karr

Member
Hello

Can you please provide a code snippet to filter a column using a textbox value?
or you can also modify the below snippet.

Code:
ActiveSheet.ListObjects(1).Range.AutoFilter field:=1, Criteria1:="=*" & Me.TextBox2.Value & "*", Operator:=xlAnd

Please see the attached file.

Many thanks in advance.
 

Attachments

Hi,

Pls have some patience as we are helping here irrespective of urgency.

Check with attached.

Code:
ActiveSheet.ListObjects(1).Range.AutoFilter field:=3, Criteria1:="=*" & Me.TextBox1.Value & "*", Operator:=xlAnd
 

Attachments

Back
Top