I'm trying to delete entire row if cell in Column C is blank, but how do I say that the cell is blank, I tried 'Nothing', 'IsEmpty' but I'm doing it wrong
this is such an easy one, I cant even figure this out
any suggestions?
thanks
[VBA]
Sub deleter()
Dim i As Integer
Dim cell As Range
Dim rng As Range
i = Sheets("Metals").Range("C" & Rows.Count).End(xlUp).Row
Set rng = Sheets("Metals").Range("C4:C" & i)
For Each cell In rng
If cell.Value = xlCellTypeBlanks Then
cell.EntireRow.Delete
End If
Next cell
End Sub
[/VBA]