Computing.Net > Forums > Office Software > Macro for Excel to eliminate rows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Macro for Excel to eliminate rows

Reply to Message Icon

Name: eboudrot
Date: January 20, 2004 at 13:26:28 Pacific
OS: xp
CPU/Ram: intel
Comment:

Hi,
I am working with Excel and looking for a way to create a Macro to delete specific rows of data that are unnecessary. For example the worksheet contains the following rows.

Net Sales 100K
Costs 50K
Estimated income 400K

How would I create a Macro to delete the rows containing "Net Sales" and estimated income?

Your help is appreciated.

Thanks Ed




Sponsored Link
Ads by Google

Response Number 1
Name: Report_2
Date: January 20, 2004 at 17:38:08 Pacific
Reply:

I do not know how to do that but in this scenario I would use the Sort function and then delete the unneeded rows.

But, the wonderful and free Excel add-in called ASAP Utilities can perform this function under Select, Conditional row and column select, hide or delete; where you can specify rows that are not like "Costs" and it will then delete the others. See the screenshots on that webpage.

Loading ASAP Utilites with Excel slows down the startup of Excel but it is worth it. There are several other functions that I use often within this add-in of about 300 functions not available in Excel.

HTH
Bryan


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Macro for Excel to eliminate rows

Excel macro for line break, help! www.computing.net/answers/office/excel-macro-for-line-break-help/2377.html

macro for conditional row deletion www.computing.net/answers/office/macro-for-conditional-row-deletion/1071.html

F2 enter in Excel to change the for www.computing.net/answers/office/f2-enter-in-excel-to-change-the-for/1579.html