Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. Anyone see a problem with the code below? It deletes an entire row
if cell D is blank. It works great if the range has a few blank cells in it. BUT, if there are no blank cells in the range, it deletes the entire range, and I have no idea why?! Help?? On Error Resume Next Set rng = Range(Cells(5, "D"), Cells(Rows.Count, "D").End(xlUp)) Set rng = rng.SpecialCells(xlBlanks) rng.EntireRow.Delete On Error GoTo 0 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Help with ActiveCell.EntireRow.Delete | Excel Discussion (Misc queries) | |||
Need Help with ActiveCell.EntireRow.Delete | Excel Discussion (Misc queries) | |||
delete entirerow if date more than 12months old | Excel Discussion (Misc queries) | |||
How do I delete entirerow that contains few command buttons | Excel Programming | |||
entirerow.delete multiple text conditions | Excel Programming |