hello!
i want my macro to find all cells in range "D1" that have the value 0(zero). and delete that row, along with the rows above that until there is a blank cell in range "C1". when a blank cell is detected, then i want the program to stop deleting. i think this might be done with a cell reference, but i cannot seem to get it.
i tried a for each/next loop but am now stuck.. please help!! thank you!!
so far all i've got is...
i know.. this only deletes the zeros.![]()
Sub test() for each c in range ("d1") if c="0" then c.entirerow.delete next end sub
how do i get it to delete the rows??
thanks!!
Bookmarks