Finding multiple cell addresses

danielpalfrey

New Member
Joined
Nov 21, 2018
Messages
17
Ok guys, I am going to try and explain this clearly this time.
I have a spread sheet, in column A there is a list of words. There is a button on the spread sheet, we will call the button tst.
The layout for column A is a word, then some cells containing info then another word. The words that are important are one two three four five six seven eight nine ten end

Upon clicking the tst button I need the cells containting the info to be hidden, but the numbers as above need to stay showing.

As an example when I click tst button A1 contains "one" then A2:A5 is just information so 2:5 hides A6 contains "two" so the stays showing but then the cells below that with just info hide until the cell containing "three"

I have been able to get this on a double click even for each number but have been asked to make a button to do it all at once.

Many thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I have even been able to modify the code to clear my irrelevant rows, this was well written and easy to understand what was happening :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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