Hi,
I've got a column that I want to filter using "contains" filter in my vba code.
Most of the column data is a 3 digit number - e.g. "842"
But some have more digits/letters - e.g. "84203-A"
Filter input is from a textbox in a userform.
Is there any way I can use an autofilter so that if "842" is entered in the textbox that it will pick up "842" and "84203-A" (i.e. anything that contains "842" at the beginning of it?
Many thanks
Tom
I've got a column that I want to filter using "contains" filter in my vba code.
Most of the column data is a 3 digit number - e.g. "842"
But some have more digits/letters - e.g. "84203-A"
Filter input is from a textbox in a userform.
Is there any way I can use an autofilter so that if "842" is entered in the textbox that it will pick up "842" and "84203-A" (i.e. anything that contains "842" at the beginning of it?
Many thanks
Tom