Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

Deleting empty rows in excel using macro

$
0
0
hi, this is nur again. I am trying to delete empty rows by using below macro code:
Code:

Sheets("op1").Columns("A:A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
i am getting "run time error '1004': No Cells were found"

Please note that: The code above is working fine for my another macro enable workbook.

Viewing all articles
Browse latest Browse all 50061

Trending Articles