title: How do I hide all sheets except one in Google Sheets?
body: <p>I have a spreadsheet which is used by others everyday. Everyday a script creates a number of additional sheets in it. The end user doesn't have access to create, delete, hide or unhide the sheets.</p>
  
  <p>Due to this many sheets get piled up over the period of time and it becomes difficult to navigate through sheets. As part of cleanup I want to use Google Apps script to hide all sheets except the one named "Instructions". I came across this <a href="https://developers.google.com/apps-script/reference/spreadsheet/sheet#hideSheet()" rel="nofollow">function</a> in google documentation. Not sure how to use it to loop through all the sheets and hide them.</p>