Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RW RW is offline
external usenet poster
 
Posts: 49
Default Deleting a row with a cell containing a value of 0.00

I would like to delete all the rows in a worksheet that contain the value of
0.00, these values come from another worksheet through the formula
=CheckInfo!$AC$2. The 0.00 are all in the same column. I am using Excell 2003.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Deleting a row with a cell containing a value of 0.00

Have you tried DataFilterAutofilter for 0.00 and deleting the resultant
rows?


Gord Dibben MS Excel MVP

On Fri, 12 Dec 2008 14:49:03 -0800, RW wrote:

I would like to delete all the rows in a worksheet that contain the value of
0.00, these values come from another worksheet through the formula
=CheckInfo!$AC$2. The 0.00 are all in the same column. I am using Excell 2003.


  #3   Report Post  
Posted to microsoft.public.excel.misc
RW RW is offline
external usenet poster
 
Posts: 49
Default Deleting a row with a cell containing a value of 0.00

I was trying to do it with a visual basic sub to automate it for my helper.
Any code for this situation?
Thanks

"Gord Dibben" wrote:

Have you tried DataFilterAutofilter for 0.00 and deleting the resultant
rows?


Gord Dibben MS Excel MVP

On Fri, 12 Dec 2008 14:49:03 -0800, RW wrote:

I would like to delete all the rows in a worksheet that contain the value of
0.00, these values come from another worksheet through the formula
=CheckInfo!$AC$2. The 0.00 are all in the same column. I am using Excell 2003.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Deleting a row with a cell containing a value of 0.00

Sub delete_zero_rows()
Dim c As Range
With ActiveSheet.Columns("H") 'edit to suit
Do
Set c = .Find("0", LookIn:=xlValues, lookat:=xlWhole, _
MatchCase:=False)
If c Is Nothing Then Exit Do
c.EntireRow.Delete
Loop
End With
End Sub


Gord

On Mon, 15 Dec 2008 14:54:06 -0800, RW wrote:

I was trying to do it with a visual basic sub to automate it for my helper.
Any code for this situation?
Thanks

"Gord Dibben" wrote:

Have you tried DataFilterAutofilter for 0.00 and deleting the resultant
rows?


Gord Dibben MS Excel MVP

On Fri, 12 Dec 2008 14:49:03 -0800, RW wrote:

I would like to delete all the rows in a worksheet that contain the value of
0.00, these values come from another worksheet through the formula
=CheckInfo!$AC$2. The 0.00 are all in the same column. I am using Excell 2003.




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
How to delete cell values withour deleting cell formulae perfection Excel Discussion (Misc queries) 5 June 18th 07 09:05 PM
Deleting cell data without deleting formula Tom Hall Excel Discussion (Misc queries) 4 October 29th 06 04:07 PM
deleting from within a cell Completely Confused Excel Discussion (Misc queries) 3 September 13th 06 11:52 PM
deleting a - from within a cell MJ Excel Discussion (Misc queries) 4 May 15th 06 07:52 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM


All times are GMT +1. The time now is 02:57 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"