如何在侧边栏的下拉列表中获取所有工作表的列表 [英] How to get the list of all sheet in a dropdown list in a sidebar

查看:52
本文介绍了如何在侧边栏的下拉列表中获取所有工作表的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Google工作表的侧边栏菜单中设置脚本中所需的一些变量.

I'm working in an sidebar menu in an google sheet, to set some variables that i need in my script.

我的脚本已经可以运行了.很简单,在表单提交时,它将在我的日历中创建一个事件.

My script is already working. It is easy, on form submit, it will create an event in my calendar.

但是,为了简化脚本的安装,我想在边栏中显示一个下拉列表,其中包含工作表中所有工作表的名称.

However, in order to simplify the installation of my script, I would like to show a dropdown list in my sidebar with the names of all the sheet of my worksheet.

我看到了各种各样的帖子,它们显示了如何执行像这样的下拉列表:

I see various post, that show how to do a dropdown list like this :

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆