Morning, I have a code which should be deleting a selection of cells if the word does not start with LMK or DUB or ORK but it seems to delete it even if it does, can anyone spot the error of my ways please ?
Code:
For i = LastRow To IRStartCell Step -1
K = Cells(i, 18)
If K <> "DUB*" Or K <> "LMK*" Or K <> "ORK*" Then
Range(Cells(i, 11), Cells(i, 18)).Delete
End If
Next i