title: List names of sheets in Google Sheets and skip the first two
body: <p>I found code to list the names of all the sheets in Google Sheets (from <a href="https://productforums.google.com/forum/#!topic/docs/Scru6M_86xw" rel="noreferrer">here</a>):</p>
  <pre><code>function SheetNames() { // Usage as custom function: =SheetNames( GoogleClock() )
  try {
    var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets()
    var out = new Array( sheets.length+1 ) ;
    //out[0] = [ &quot;Name&quot; , &quot;gid&quot; ];
    for (var i = 1 ; i &lt; sheets.length+1 ; i++ ) out[i] = [sheets[i-1].getName()];
    return out
  }
  catch( err ) {
    return &quot;#ERROR!&quot; 
  }
  }
  </code></pre>
  <p>My question is how can I modify the script to skip the first two sheet names and begin populating the list in the cell where the script is called?</p>
  <p>I tried changing the <code>var i = 1</code> to <code>var i = 3</code> and that did skip the first two sheet names but it also created to blank cells. How do I skip the first two sheet names and not create any blank cells?</p>