Hi guys,
I want to create an active button in excel that will hide/unhide rows when clicked.
The thing is that I will have rows 13-17 hidden. I want on one click of the button to unhide row 13, the second click should unhide row 13 and 14, the next will unhide row 13, 13 and 15 and so on - until row 17. I will create a separate button that upon being clicked will hide rows 13-17. ()
Making the button insert rows is not an option, because I have another button like that further down the sheet and if I add rows above it it messes up the code. The button that is down adds rows between row 33 and 34 and if I add a row between 13 and 14 that will make rows 33 and 34 rows 34 and 35. If you know a way to make the code of the second macro react to rows being added above it that would also work.
Do you think something like that is possible?
Thank you in advance!
Best,
Alexander
Bookmarks