I have written code to delete all rows from row 8 onwards where there is a zero value in column 8, but cannot get it to work
Your assistance in resolving the matter is most appreciated
Sub Delete_Zero_Values()
finalrow = Cells(65536, 8).End(xlUp).Row
For i = finalrow To 8 Step -1
If Cells(i, 8).Value = "0" Then
Cells(i, 8).EntireRow.Delete
End If
Next i
End Sub
Your assistance in resolving the matter is most appreciated
Sub Delete_Zero_Values()
finalrow = Cells(65536, 8).End(xlUp).Row
For i = finalrow To 8 Step -1
If Cells(i, 8).Value = "0" Then
Cells(i, 8).EntireRow.Delete
End If
Next i
End Sub