title: Google Sheets - Script function could not be found
body: <p>I am working to link an image in my Google Sheet document to a specific cell in another tab. I'm doing this by building a simple function that will do this. However, when I assign the function and then click on the image, I then get the error "Script function "test" could not be found". When I run the function in the script manager interface, it works fine. It's when I try to actually use it in the sheet with the image.</p>
  
  <p>Function Script: </p>
  
  <pre><code>function test()
  {
    var ss = SpreadsheetApp.getActiveSpreadsheet();
    var sheet = ss.getSheetByName("TX Marketing Data");
    sheet.setActiveRange(sheet.getRange("A91"));
  };
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6LEzF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6LEzF.png" alt="enter image description here"></a></p>
  
  <p>Steps to recreate:<br>
  1) Create image<br>
  2) Go to image, right click, go to drop down and select "Assign Script"<br>
  3) Enter "test" as the assign script  </p>