HotNumbers
Well-known Member
- Joined
- Feb 14, 2005
- Messages
- 732
Why can't i get this to work. I need to delete the row if a cell in P10:P50000 has a 0
Part of the code
Dim ChkRange As Range
Set ChkRange = Range("p1050000")
Dim cell As Range
For Each cell In ChkRange
If cell = "0" Then
cell.EntireRow.Delete
End If
Part of the code
Dim ChkRange As Range
Set ChkRange = Range("p1050000")
Dim cell As Range
For Each cell In ChkRange
If cell = "0" Then
cell.EntireRow.Delete
End If