Hi again,
Did you incorporate the "txtFilterValue_Change" routine into the VBA CodeModule for the "ClientStats" worksheet? It won't work if it is incorporated into a standard VBA CodeModule.
(Like if I had "ABC Car Wash" I couldn't search for "car" and have it show
To get the filter to work the way you describe, just replace the highlighted line in the following code extract:
with this one:
NOTE FOR EXPERTS:
If you want to see one of Excel's "quirks", just omit the "VBA." qualifier from the above statement - it seems that special tactics must be adopted when using the Instr function with named arguments.
Hope this helps - as before, please let me know how you get on.
Regards,
Greg M
Bookmarks