title: Display message Google Sheets from Apps Script
body: <p>I want to display a message on a google sheet. But I don't get it, and, after research here, in documentation, I don't get the answer.</p>
  
  <p>I think that the problem is in "activate" the spreadsheet, where i need to display.</p>
  
  <pre><code>var SEGUIMIENTO = SpreadsheetApp.openById("MyTestediD");
  var INF = SEGUIMIENTO.getSheetByName("NameOfSheet");
  function TestMessage() {
    INF.activate();
    Browser.msgBox("Hello")
  }
  </code></pre>
  
  <p>When i run.. nothing happen</p>
  
  <p>I need the definition of Spreadsheet outside the function because I'm working in 2 Spreadsheet's by ID in more that one function.</p>
  
  <p>i only need the correction in my code for display a simple message in the spreadsheet.</p>
  
  <p>PD. i really cant find a simple example of that, </p>
  
  <p><strong>Update</strong></p>
  
  <p>This code it's part of a macro recorder of a Spreadsheet, the same "SpreadsheetApp.openById("MyTestediD");"</p>