Would Like To Hide Row Based On Cell Contents

maesoph

New Member
Joined
Mar 22, 2011
Messages
3
Dear All:

I need to hide all of the rows in a spreadsheet (15,000 rows) that have a part number that does not start with M or K. I have found lots of simple macros that do something similar but usually not with any sort of textual evaluation. Any help please?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What Version of Excel are you running?

If xl2007 + then why not use an Auto-Filter, Selecting "Text-Filters" - and Begins With
K, or Begins with M
 
Upvote 0
Well, this is a little embarrasing. I am running Windows 7 and cannot find the Help-About to figure out which version of Excel I am running.
 
Upvote 0
Well, this is a little embarrasing. I am running Windows 7 and cannot find the Help-About to figure out which version of Excel I am running.

Jim's suggestion should work then, Help - About was moved in excel 07.

Office button > excel options > resources > about.
 
Upvote 0
Jason - Thanks for the Needed Correction on difference in 2003 and 2007; I had already forgotten that. Jim
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top