Hi, can someone modify the code below to delete the entire row instead of just the cell where the text does not begin with the word "PARTS". I found this code online so If there is a better way to do this please offer. Thanks in advance.
VBA Code:
Sub testparts()
For Each cl In Range("A44:A47")
If UCase(Left(cl.Value, 5)) <> "PARTS" Then
cl.ClearContents
End If
Next cl
End Sub