google-apps-script - What is the Google App Script to move to the first empty row?
问题描述
I have reviewed previously asked questions on this but still can't work out the code. I have a sheet with a significant number of rows of data in it. Rather than scroll down to the first empty row, I have created a button and on click of that button, I want the cursor to take me to column A of the first empty row. This is my script at this point but I keep getting errors:
Can someone please help me.
解决方案
尝试这个:
function getLastRow() {
var sss = SpreadsheetApp.getActiveSheet();
sheet.getRange(sss.getLastRow()+1,1).activate();
}
推荐阅读
- python - Airflow BranchPythonOperator 不遵循指定的分支
- r - “检查是否可以安装软件包”时签入了什么?
- r - 在 facet_wrap ggplot2 中控制 x-labels
- javascript - 这些是逻辑运算符吗?
- r - 如何将yyyy-mm格式的字符转换为日期r
- spring-integration - 未能创建 SFTP 会话
- android - Android Studio 布局 xml 文件代码从默认值自动更改
- file - 使用带有共享文件指针的 MPI-IO 将巨大的数组写入单个文件
- reactjs - 我应该将 access_token 存储在 localStorage+Redux 中还是 axios 默认值中?
- r - 如何根据另一个数据帧对一个数据帧执行操作?