Deploy and use Google Sheets add-on with Google Apps Script

我的未来我决定 提交于 2019-12-02 04:16:34

Yes its posible but first you need to be approved by google to publish. Once you can publish you specify to publish only to a google group and not public (this is standard chrome store functionality)

Go to Publish>Test as Add On and Configure a New Test. Testing your script will run the code on a doc of your choosing.

You should be able to take it from there. If you're still having trouble, read on.

To setup the test, you'll need to specify which Document, Form, or Spreadsheet you want to it to run on, and save the test. Then you can run the test (from the Test as Add On popup, by clicking the Test button after you've saved your test setup) and it will execute your code on that document/spreadsheet/form by opening a new tab with that doc and executing your code.

To share the script with others (beyond making them use this same process for themselves by copy/pasting your script in their own Script Editor) you'll need to publish it to the Web Store; to do that you need to do all this stuff.

Hope that helps!

I tried to do the same thing but was not able to. I just copied and pasted my code into the script manager to test with different spreadsheets.

Sorry, but I guess not.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!