Hi,
I used autofilter first, and then I would like to delete all hidden rows (the rows that do not meet the criteria.
My coded did not work the way I wanted though:
Columns("C:C").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="=HA*", Operator:=xlAnd
Range.SpecialCells(xlCellTypeHidden).EntireRow.Delete
Any advice?
Thanks in advance!
I used autofilter first, and then I would like to delete all hidden rows (the rows that do not meet the criteria.
My coded did not work the way I wanted though:
Columns("C:C").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="=HA*", Operator:=xlAnd
Range.SpecialCells(xlCellTypeHidden).EntireRow.Delete
Any advice?
Thanks in advance!