Deleting first empty row along with the next 700 rows

C

Curt D.

I have some data that I am trying to use the sumproduct formula on but I keep
getting the VALUE! code unless I delete the next 700 or so rows that have no
data in them. The number of rows with data changes so I can not just look at
certain number of rows. Does anyone have a way in VBA to select the first
emoty row and the next 700 rows (approx) and then delete them? Thanks in
Advance for the help.
 
B

Bob Phillips

Range("A1").SpecialCells(xlCellTypeBlanks).EntireRow.Delete


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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