title: How can I create spreadsheet and open it Automaticclly
body: <p>I have a model of spreadsheet, and I want to automatically duplicate the sheet in this model to a new spreadsheet (not in the same spreadsheet).
  This new spreadsheet must be automatically opened and saved in my Google Drive. How can I do this?</p>
  
  <p>I started with this code but it doesn't work</p>
  
  <pre><code>function CreateReports()
  {    
  
      var ssNew = SpreadsheetApp.create(date);
      var url = ssNew.getUrl()
      var ss = SpreadsheetApp.openByUrl(url);
  
      Logger.log(ssNew.getUrl());
  
  }
  </code></pre>