Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Public Sub DelBlank() On Error Resume Next Range("A1:A20").SpecialCells(xlCellTypeBlanks).Ent ireRow.Delete On Error GoTo 0 End Sub the On Error statement prevents a run-time error if there are no blank cells. In article , "Brian Tozer" wrote: Can someone please give me a macro that will delete all rows in a worksheet that do not include any data in column A up to a maximum of row 20? Thanks Brian Tozer |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
simple macro | Excel Discussion (Misc queries) | |||
Simple macro | Excel Discussion (Misc queries) | |||
Simple (?) Macro | Excel Discussion (Misc queries) | |||
Simple Macro | New Users to Excel | |||
Need Simple Macro | New Users to Excel |