Reputation: 70
I recently started working on google app script. I've add a script with my google spreadsheet. that script runs on loading of spreadsheet.
function onOpen(e) {
//This function loads an HTML form on loading of spreadsheet.
showForm();
SpreadsheetApp.getUi()
.createMenu('Custom Menu')
.addItem('Show Form', 'showForm')
.addToUi();
}
But when I am sharing this spreadsheet with email account other than gmail, Script dosen't execute.
Do I need to login with google account in order to run this script ?
Upvotes: 0
Views: 2275
Reputation: 656
Most scripts can't run if the user is not logged into their Google account on a computer. The createMenu()
method can't run without the user logged in.
Upvotes: 1