Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This code works but it only deletes the first row where the "M" column field
is missing. There are quite a few rows without that data I want deleted. How come it only deletes the first one? It looks like it should work on the whole range. Do I need to put in a loop or do I need to give it a range? thanks ------------code------------ Sub DeleteBlanks() With ActiveSheet On Error Resume Next .Columns("M").SpecialCells(xlCellTypeBlanks).Entir eRow.Delete On Error GoTo 0 End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Excel macro that deletes all rows which doesn't contain the character "|" | Excel Programming | |||
What is a function in VBA EXCEL witch finds a string like "not" in cell and then deletes a row with this cell? | Excel Programming | |||
What is a function in VBA EXCEL witch finds a string like "not" in cell and then deletes a row with this cell? | Excel Worksheet Functions | |||
Changing "returned" values from "0" to "blank" | Excel Worksheet Functions |