Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mohd21uk via OfficeKB.com
 
Posts: n/a
Default Delete a row if blank cell

I would like to delete a row if the the value in colmn I and H in the
respective row is blank. I would like to know if a macro can do this from the
start to the end of the worksheet.

Thanks.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200605/1
  #2   Report Post  
Posted to microsoft.public.excel.misc
JimMay
 
Posts: n/a
Default Delete a row if blank cell

Good opportunity here to "record-a-macro";
1) Click inside of your data-table.
2) Macro, Record Macro - OK.
3) Data, Filter, Auto-Filter
4) Click on Down-arrow of Col-I header, select Blanks from list
5) Click on Down-arrow of Col-H header, select Blanks from list
6) In Row-selector column (the actual row nums col) click and
Drag over all currently selected rows; Edit, Delete entire row.
7) Unfilter to All for Col I and H.
8) Data, Auto-Filter - uncheck
9) Stop Macro record
HTH

"mohd21uk via OfficeKB.com" <u20517@uwe wrote in message
news:5fbe443b2a83b@uwe:

I would like to delete a row if the the value in colmn I and H in the
respective row is blank. I would like to know if a macro can do this from the
start to the end of the worksheet.

Thanks.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200605/1


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
Sum in first blank cell and a few more things... Bleu_808 Excel Discussion (Misc queries) 3 May 4th 06 12:00 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
How to delete blank rows John Mansfield Excel Discussion (Misc queries) 3 April 27th 05 11:48 PM
blank cell turns to 0 LMB New Users to Excel 2 April 25th 05 03:57 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 10:01 PM.

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

About Us

"It's about Microsoft Excel"