Good Afternoon peeps,
I have been trying to find a solution to my little problem. I have an autofilter however I can't get it to filter the data which is basically text only.
The numerical data in the selected column is 5 digits long (#####). I want the autofilter to select and show everything else that is not 5 digits long. Hope that makes some sense.
This is what i have so far with regards to my code:
Hopefully this is just a quick and simple fix.
Thanks for taking your time to help me.
Kind Regards
I have been trying to find a solution to my little problem. I have an autofilter however I can't get it to filter the data which is basically text only.
The numerical data in the selected column is 5 digits long (#####). I want the autofilter to select and show everything else that is not 5 digits long. Hope that makes some sense.
This is what i have so far with regards to my code:
Code:
With wBook1.Sheets("T900 Sorted")
.AutoFilterMode = False
End With
With wBook1.Sheets("T900 Sorted").Range("A1:R1")
.AutoFilter
.AutoFilter field:=2, Criteria1:="<>*#####*"
End With
wBook1.Sheets("T900 Sorted").AutoFilter.Range.Copy wBook1.Sheets("T900 Unknown").Range("A1")
wBook1.Sheets("T900 Sorted").AutoFilterMode = False
Hopefully this is just a quick and simple fix.
Thanks for taking your time to help me.
Kind Regards