Maybe:
Sub forrestgump1980()
Dim x As Long, y As Long
With Application
.ScreenUpdating = False
.Calculation = xlCalculationManual
End With
y = ActiveSheet.UsedRange.Columns.Count
x = Range("A" & Rows.Count).End(3).row
With Range(Cells(1, y + 1), Cells(x, y + 1))
.SpecialCells(12).Value = "Keep"
.EntireRow.Hidden = False
.AutoFilter 1, "<>Keep", xlWhole
.SpecialCells(12).EntireRow.Delete
.Delete
End With
ActiveSheet.AutoFilterMode = False
With Application
.ScreenUpdating = True
.Calculation = xlCalculationAutomatic
End With
End Sub
Bookmarks