Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Deleting Blank rows as a result of a formula

I realize there have been numerous discussions on deleting rows with a cell
blank, I can not locate one with what I need that works, I have a column that
has some blank cells due to a formula result and need to delete these rows,
any help would be appreciated. thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Deleting Blank rows as a result of a formula

try this idea
Sub deleteblankformulas()
For Each c In Range("c10:c15")
If c.HasFormula And c = "" Then c.EntireRow.Delete
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curtd" wrote in message
...
I realize there have been numerous discussions on deleting rows with a cell
blank, I can not locate one with what I need that works, I have a column
that
has some blank cells due to a formula result and need to delete these
rows,
any help would be appreciated. thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Deleting Blank rows as a result of a formula

Just filter the column for blanks (DataFilterAutofilter), and select a
custom value of blanks and delete the visible rows.

--
HTH

Bob

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

"Curtd" wrote in message
...
I realize there have been numerous discussions on deleting rows with a cell
blank, I can not locate one with what I need that works, I have a column
that
has some blank cells due to a formula result and need to delete these
rows,
any help would be appreciated. thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Deleting Blank rows as a result of a formula

I appreciate the help Don, however it did not do the trick.

"Don Guillett" wrote:

try this idea
Sub deleteblankformulas()
For Each c In Range("c10:c15")
If c.HasFormula And c = "" Then c.EntireRow.Delete
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curtd" wrote in message
...
I realize there have been numerous discussions on deleting rows with a cell
blank, I can not locate one with what I need that works, I have a column
that
has some blank cells due to a formula result and need to delete these
rows,
any help would be appreciated. thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting blank rows Rafeek Excel Discussion (Misc queries) 5 August 27th 11 03:20 PM
Deleting Blank Rows Nigel Bennett Excel Programming 1 March 16th 05 12:31 AM
Deleting blank rows Alan M Excel Programming 3 January 26th 05 01:12 PM
DELETING BLANK ROWS Robert Lowe Excel Programming 3 August 30th 04 10:04 PM
deleting the rows depending on the result of a condition involving two columns. pkseelam Excel Programming 2 August 26th 03 02:52 PM


All times are GMT +1. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"