ReferenceError: “Sheets” is not defined

前端 未结 1 1842
后悔当初
后悔当初 2021-02-14 02:56

This is my first attempt with script editor. I was assigned to do a script to crate pivot table for google sheet.

  //creating pivot table through script editor         


        
相关标签:
1条回答
  • 2021-02-14 03:31

    This an advanced service from google. You need to enable this service before using it. https://developers.google.com/apps-script/guides/services/advanced In the script editor, select Resources > Advanced Google services.... In the dialog that appears, click the on/off switch next to the service you want to use. At the bottom of the dialog, click the link for the Google API Console. In the console, click into the filter box and type part of the name of the API (for example, "Calendar"), then click the name once you see it. On the next screen, click Enable API. Close the API Console and return to the script editor. Click OK in the dialog. The advanced service you enabled is now available in autocomplete.

    0 讨论(0)
提交回复
热议问题