M
maw via OfficeKB.com
Hello all,
I have the following code:
Sub DelOver16()
If ActiveCell.Value >= 16 Then ActiveCell.EntireRow.Delete
End Sub
What I need to do is have the code loop through cells F2:F10000 and delete
entire rows that have a value of >=16.
How would I do that?
Many thanks in advance
Mark
I have the following code:
Sub DelOver16()
If ActiveCell.Value >= 16 Then ActiveCell.EntireRow.Delete
End Sub
What I need to do is have the code loop through cells F2:F10000 and delete
entire rows that have a value of >=16.
How would I do that?
Many thanks in advance
Mark