Exception: Cannot call SpreadsheetApp.getUi() from this context. (line 2, file “Code”)

后端 未结 0 2027
失恋的感觉
失恋的感觉 2020-12-13 06:32

I\'m getting this error when I try to run my code to had a custom menu. My code:

function onOpen() {
  var ui = SpreadsheetApp.getUi();
  ui.createMenu(\'Menu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题