title: sheet.deleteRows() - Need to delete all the rows with data from top (preferably from 2nd row)
body: <p>I need to delete 200-300 rows, excluding row 1.  The script below is getting an out of bounds error, and it's slow. Can someone help with a way to speed up the process?</p>
  <p>** IF POSSIBLE EXCLUDE ROW_1</p>
  <pre><code>function clearRange() {
    var sheet = SpreadsheetApp.getActive().getSheetByName('test');
  
    var start=1;
    var end=300;
    for (var i = start; i &lt;= end; i++) 
      { sheet.deleteRow(i); }
  
  }
  </code></pre>
  <p><a href="https://docs.google.com/spreadsheets/d/1wKIdOGg1Hw9EAlVrMyYaKuUaWOksW8_nwUH7_XPHruc/edit#gid=0" rel="noreferrer">SAMPLE SHEET -  TAKE COPY</a></p>