title: How can I add a Google apps script to a spreadsheet created using the API?
body: <p>After reading up a lot on the Google Spreadsheet API I have come to the conclusion that formatting (such as merging cells, changing fonts etc) is <strong>only</strong> available throught the Apps scripts.</p>
  
  <p>Since we need to create and fill the spreadsheets with data programatically using Java on the back-end I guess I need to somehow either;</p>
  
  <ul>
  <li>link the new sheet to a Apps script that trigger on-load   <em>or</em></li>
  <li>create a Apps script that creates the spreadsheet for me.</li>
  </ul>
  
  <p>Anyone knows?</p>