Good Afternoon,
I am fairly new to scripts for Google Sheets (getting used to Excel differences) and am trying to hide multiple sheets ("Week 1", "Week 2", "Week 3"... all the way to week 9) and only show one based on a cell (j10 in a sheet "Control Panel"). If j10 has a "4", only "Week 4" will show.
I see a way to do this one sheet at a time based on this old Stack Overflow question using 9 "if statements" and each statement having 9 commands to either hide all but one "Week" sheet. Basically, I'm looking to considerably simplify that code to not be so slow.
So I tried to use some script from this post that was written before the hidesheet() method existed by looping a command, but I'm having trouble.
Thank you for considering!