deletes entire ROWS that contain a certain keyword anywhere in the row(not just cell contents)
anyone know if this function exists and what it's called?
anyone know if this function exists and what it's called?
This works.
Code:Sub Find_[COLOR=Yellow]YOUKEYWORD[/COLOR]() Dim rng As Range Dim what As String what = "[COLOR=Yellow]YOUKEYWORD[/COLOR]" Do Set rng = ActiveSheet.UsedRange.Find(what) If rng Is Nothing Then Exit Do Else Rows(rng.Row).Delete End If Loop End Sub