Hey everyone !
I'm fairly a newbie when it comes to write VBA code from scratch, so I tried to modify a procedure I had but can't seem to make it work.
Basically, I have a few headers on different page (6 totals) that I would like to reveal/hide by pressing only one button. The procedure I had was working fine to reveal the header on the active page, but I would have to go through all the pages individually, then click on the button from each page, if I wanted to reveal/hide them all. So I tried to combine them all in one single procedure, but it stops right after the first one (the first one works fine). Here's what I have:
So basically, it should reveal/hide rows 12:19 on Sheet7 through Sheet12. I can make it work individually, but can't seem to be able to combine them all under the same procedure.
I'm sure it's a simple tweak, but the VBA newbie in me could use your help.
Thanks to anyone willing to help !
Bookmarks