Try this
Sub delRows()
for i = Range("A65536".end(xlup).row to 2 step -1
if range("A" & i).text = "a" then
rows(i & ":" & i).entirerow.delete
else
end if
next i
end sub Rgds
~Geoff~
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.