Good Sunday,
The below should work , but i dont know why
Delete all the rows not containing the array words
Please do spot my errorSub Delete_Rows() oSearch = Array("Apple", "Pear") For i = LBound(oSearch) To UBound(oSearch) For Each ocell In ThisWorkbook.Worksheets("AA").Range("A1:A500").Cells If Not InStr(1, ocell.Value, oSearch(i)) > 0 Then ocell.EntireRow.Delete End If Next ocell Next i End Sub