title: Link Google Script Editor to Google Sheet
body: <p>I have created a script in 'script editor' called </p>
  
  <blockquote>
    <p>Clear1</p>
  </blockquote>
  
  <p>to clear a selected range of cells in a sheet. When the script is run from the 'script editor' it executes and clears the chosen cells. </p>
  
  <p>I have created a google drawing and allowed permissions for the script to affect the sheet, but when I click the drawing I get></p>
  
  <blockquote>
    <p>Script function Clear1 could not be found</p>
  </blockquote>
  
  <p>I cannot link a google drawing to the script.</p>
  
  <p>Script is </p>
  
  <pre><code>function clearRange() 
  {
    var Detailed = SpreadsheetApp.getActive().getSheetByName('Detailed');
    Detailed.getRange('G40:G53').clearContent()
  }
  </code></pre>
  
  <p>Any thoughts? What am I missing?</p>