Hi,
I have a "search box" where you can search for a name in my table named "manager1" and it will filter through.
The problem is, it takes ages to filter as my table is 20X700 so it has lots of entries.
Can we add criteria to the code where it will take effect only if user types 5 or more characters?
Any other idea how to speed up?
Thank you.
I have a "search box" where you can search for a name in my table named "manager1" and it will filter through.
The problem is, it takes ages to filter as my table is 20X700 so it has lots of entries.
Can we add criteria to the code where it will take effect only if user types 5 or more characters?
Any other idea how to speed up?
Thank you.
Code:
Private Sub TextBox1_Change()
ActiveSheet.ListObjects("manager1").Range.AutoFilter Field:=7, _
Criteria1:="*" & [az1] & "*", Operator:=xlFilterValues