Hi,
I need help with an autofilter function.
I want to filter out all cells in following format:
ABC001ABC
The first 3 characters are always some random letters, character 3 and 4 are random numbers between 0-9, and the characters afterwards doesn't matter what they are.
I've tried variations of the code below, but since numeric wildcards doesn't work in autofilter I'm out of ideas..
.Columns(1).Resize(, lCol).AutoFilter Field:=2, Criteria1:="???##*", Operator:=xlFilterValues
Maybe It's possible to use greater and less than operators but I don't know how to implement it properly in the autofilter code.
Thanks in advance.
I need help with an autofilter function.
I want to filter out all cells in following format:
ABC001ABC
The first 3 characters are always some random letters, character 3 and 4 are random numbers between 0-9, and the characters afterwards doesn't matter what they are.
I've tried variations of the code below, but since numeric wildcards doesn't work in autofilter I'm out of ideas..
.Columns(1).Resize(, lCol).AutoFilter Field:=2, Criteria1:="???##*", Operator:=xlFilterValues
Maybe It's possible to use greater and less than operators but I don't know how to implement it properly in the autofilter code.
Thanks in advance.