Macro to delete all (and only) rows with cell value "" (blank) incolumn A

S

Snoopy

Hey Guys
Still strugling here :(
I want my macro to delet all rows as described in the subject.
Will anyone give me a hand on this?
In advance of the maco sequence I have sorted datatable and all theese
rows are place in the bottom of the table.


best regards
Snoopy
 
D

Don Guillett

One way, sorted or not
Sub DeleteBlanks()
Columns("A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top