PC Review


Reply
Thread Tools Rate Thread

Deleting first empty row along with the next 700 rows

 
 
=?Utf-8?B?Q3VydCBELg==?=
Guest
Posts: n/a
 
      15th Aug 2007
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.
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      15th Aug 2007
Range("A1").SpecialCells(xlCellTypeBlanks).EntireRow.Delete


--
HTH

Bob

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

"Curt D." <(E-Mail Removed)> wrote in message
news:3E6A09E8-DB81-4FDB-8AFA-(E-Mail Removed)...
>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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting empty rows Felix Microsoft Excel New Users 1 3rd Feb 2009 07:48 AM
deleting empty rows EngelseBoer Microsoft Excel Misc 3 7th Sep 2008 01:09 AM
Deleting All Empty Rows =?Utf-8?B?Ym9kaGlzYXR2YW9mYm9vZ2ll?= Microsoft Excel Misc 3 18th May 2006 12:36 PM
Deleting Empty Rows Morris.C Microsoft Excel Discussion 2 13th Apr 2005 10:57 PM
Deleting Empty Rows =?Utf-8?B?RG9scGhpbnY0?= Microsoft Excel Worksheet Functions 2 15th Mar 2004 09:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:08 AM.