I will assume your code and your sample workbook do not exactly match as your code is looking in column C for "Tax" etc. but in your sample workbook those are in column B. However your approach still doesn't work if you make them both column B.
Try this approach using InStr:
Sub specificwordInsetence()
Last = Cells(Rows.Count, "b").End(xlUp).Row
For i = Last To 1 Step -1
If InStr(1, Cells(i, "b"), "deferred", 1) = 0 And _
InStr(1, Cells(i, "b"), "future", 1) = 0 And _
InStr(1, Cells(i, "b"), "tax", 1) = 0 And _
InStr(1, Cells(i, "b"), "DTLNC", 1) = 0 Then
Cells(i, "c").EntireRow.Delete
End If
Next i
Cells(1, 4).Select
Application.ScreenUpdating = True
End Sub
Worth noting that also "Gross Deferred Tax Assets" would remain after the code has run, as would "Current Taxation".
BSB
Bookmarks