I need a macro to apply a text filter in activesheet and move result to worksheet "Temp".
ActiveSheet.Columns(1).AutoFilter Field:=1, Criteria1:="<>*MyText*"
After that, remove autofilter so result activesheet only contains cells with MyText, and all rows without MyText are in sheet "Temp".
I managed to do it with loop each row using InStr, but takes a lot of time.
How to do that?
Thanks!
ActiveSheet.Columns(1).AutoFilter Field:=1, Criteria1:="<>*MyText*"
After that, remove autofilter so result activesheet only contains cells with MyText, and all rows without MyText are in sheet "Temp".
I managed to do it with loop each row using InStr, but takes a lot of time.
How to do that?
Thanks!