title: Looping a reset function in Google Apps Script
body: <p>I'm trying to loop the reset function so I can apply it across 30+ different sheets in the same spreadsheet.</p>
  <p>I've found an answer in the past but I can't manage to modify it to work.</p>
  <pre><code>function reset() {
    var keys = ['my spreadsheet id']; // list of spreadsheet ids
    for (var i = 0; i &lt; keys.length; i++) {
      var ss = SpreadsheetApp.openById(keys[i]);
      var sheet = ss.getSheetByName('sheet name'); // i tried writing multiple sheet names here already but it doesn't work, hence trying to make the loop
      sheet.getRange('C3').setValue('X');
    }
  }
  </code></pre>
  <p>The loop that I am talking about has been mentioned here: <a href="https://stackoverflow.com/questions/48206657/one-function-for-multiple-sheets-in-google-sheets">One function for multiple sheets in Google Sheets</a></p>
  <p>I don't need to get all the sheets. 2 of the sheets should be excluded.
  And I need help applying it to the function I have which is posted above.</p>