You could loop backwards through the cells in the column, deleting as you find the required value. Or you could do an autofilter, then select visible rows, and do a delete ( this would be the easiest way if you were doing this operation manually ).
Here's the code for looping:
Code:
For iRow=Range("B65536").End(xlUp).Row To 1 Step -1
If Range("B" & iRow).Value = "G17" Then
Range("B" & iRow).EntireRow.Delete
End If
Next
Cheers, Glenn.
Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.