I want different users to be able to edit my Google sheet and my scripts.
Based on the answer here I made a script file in Google drive and used it to successfully manipulate data in the Google sheet.
However, I want users to be able to call the script function from within the Google sheet by clicking a button. When I assign the script function name to a button in my sheet, I get "Script function testFunction could not be found" error.
Update
I have attached following script to my button:
function runTest(){
TestScript.testFunction()
}
TestScript is the name of the standalone script project. However, I get "Reference error: TestScript not defined" when I press the button.