Hi probably a cleaner way of doing this.
If the word "Topper" in column A exists. Then keep those rows and delete everything else. So you see down below I had to filter Tunnel and Yards Slabs in order to delete them and keep Topper.
If the word "Topper" in column A exists. Then keep those rows and delete everything else. So you see down below I had to filter Tunnel and Yards Slabs in order to delete them and keep Topper.
Code:
Sub Mac9()
Columns("A:A").AutoFilter
ActiveSheet.Range("$A$1:$A$170").AutoFilter Field:=1, Criteria1:=Array( _
"Tunnel", "Yards Slab", "="), Operator:=xlFilterValues
Rows("73:148").Delete Shift:=xlUp
Selection.AutoFilter
End Sub