Hi all,
I am trying to remove rows based on if a cell in column C is not blank for that row. Ive searched multiple threads but nothing is seeming to work for me. I have this one below that works great for removing rows where a cell IS blank. But I need to remove if the cell actually contains info.
Dim d9 As Range
Dim SrchRng9
Set SrchRng9 = ActiveSheet.Range("c2", ActiveSheet.Range("c1000").End(xlUp))
Do
Set d9 = SrchRng9.Find("", LookIn:=xlValues)
If Not d9 Is Nothing Then d9.EntireRow.Delete
Loop While Not d9 Is Nothing
I am trying to remove rows based on if a cell in column C is not blank for that row. Ive searched multiple threads but nothing is seeming to work for me. I have this one below that works great for removing rows where a cell IS blank. But I need to remove if the cell actually contains info.
Dim d9 As Range
Dim SrchRng9
Set SrchRng9 = ActiveSheet.Range("c2", ActiveSheet.Range("c1000").End(xlUp))
Do
Set d9 = SrchRng9.Find("", LookIn:=xlValues)
If Not d9 Is Nothing Then d9.EntireRow.Delete
Loop While Not d9 Is Nothing