Google-sheets – Test Google Spreadsheets Add-On with custom functions

google sheetsgoogle-apps-scriptgoogle-apps-script-add-ongoogle-sheets-custom-function

I have set up a Google Apps Scripts project with the intent of creating a Google Spreadsheets add-on with custom functions. However, when I use the option "Test as add-on", I can't use the functions that I created. When I paste the script code into the script editor opened from a spreadsheet it works fine, however.

Is this a limitation on how custom functions work in Spreadsheets, or am I simply doing something wrong?

Best Answer

Answer

According to Eric Koleda in Code.gs - date_add_and_subtract to make available the custom fuctions in an add-on it's required to include at least one add-on menu, but this is not working at this time.

Remarks

There are a couple of related GAS issues, please star them:

This answer was cross-posted to Stack Overflow