Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I delete 250 rows on Excel sheet where ever a cell value =0

I have an Excel sheet with 2000 rows and I have the folowing formula on every
row with ab8, ab9,....ab2000
If(ab8=1,True,False) on the 8th row
If(ab9=1,True,False) on the 9th row, and so on
I want to write a macro that will delete every row if ab?=1 is false
Please help
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do I delete 250 rows on Excel sheet where ever a cell value =0

Filter on column A for the False value, then delete those visible rows.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"K Suhail" <K wrote in message
...
I have an Excel sheet with 2000 rows and I have the folowing formula on

every
row with ab8, ab9,....ab2000
If(ab8=1,True,False) on the 8th row
If(ab9=1,True,False) on the 9th row, and so on
I want to write a macro that will delete every row if ab?=1 is false
Please help
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
Delete rows from one sheet containing deatils on the second sheet [email protected] New Users to Excel 4 September 6th 07 11:10 AM
Cut filtered rows, paste into next empty row of new sheet, and delete cut rows Scott Excel Worksheet Functions 0 December 13th 06 01:25 AM
How do i delete duplicate rows in an Excel Spread Sheet sqirt Excel Worksheet Functions 1 February 8th 06 03:04 PM
How can we delete rows permanently from excel sheet Nehal Shah Excel Discussion (Misc queries) 1 August 1st 05 01:58 PM
Delete rows from sheet Gareth[_3_] Excel Programming 5 August 13th 03 01:10 AM


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