Hi,
T
and the result is nul, which is incorrect, because I was expecting to see a lot of lines that met this criteria.
However, if I manually do in Excel
click on Filter / and in the Search box I type 1*, then I get as a result a lot of lines (which is exactly what I want and what I expected to see).
Can anybody help me to correct the code or tell me why is not working
Thanks.
Cristian
T
he VBA line below does Filter / Number Filters / Custom Filter / Begins with 1
ActiveSheet.Range(Selection, Selection.End(xlUp)).AutoFilter Field:=1, Criteria1:="1*"and the result is nul, which is incorrect, because I was expecting to see a lot of lines that met this criteria.
However, if I manually do in Excel
click on Filter / and in the Search box I type 1*, then I get as a result a lot of lines (which is exactly what I want and what I expected to see).
Can anybody help me to correct the code or tell me why is not working
Thanks.
Cristian