title: Get a specific cell value in a Google Spreadsheet Script
body: <p>I am trying to <a href="http://www.labnol.org/?p=20884" rel="nofollow">modify a little script</a> to email myself the results of a Google Form.
  The script is working in its basic form, but I can't seem to be able to retrieve the value from a cell and copy it in the subject field.</p>
  
  <p>Here is what I am trying:</p>
  
  <pre><code>var lastRow = SpreadsheetApp.getActiveSheet().getMaxRows();
  var title = SpreadsheetApp.getActiveSheet().getRange(lastRow, 2).getValues();
  var subject = "Todo List: " + title; 
  </code></pre>
  
  <p>The script stops working though, when I do that :)
  Any idea why? Thanks</p>