[英]Making a custom function in Google Sheets, the code works outside of sheets but not in sheets
[英]Create a custom function for google sheets
我知道可以通过脚本编辑器在Google表格中创建一个函数,我曾经能够做到这一点,现在我很挣扎。
这些功能应该可以通过单元访问,并且能够使用单元。
如何创建函数,以及如何使用它?
在文档中对此进行了详尽的描述:
https://developers.google.com/apps-script/guides/sheets/functions
编写自定义函数:
function DOUBLE(input) {
return input * 2;
}
使用自定义函数:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.