I try to delete row that does not contain a certain type of word in B column but it can have everything in front and after the word.
Select Case Range("B7:B1048576").Value
Case "*Transpalette*"
'do nothing
Case Else
Selection.EntireRow.Delete
End Select