如何在使用 Google Apps 脚本迭代 Google 电子表格时跳过隐藏的行 [英] How to skip hidden rows while iterating through Google Spreadsheet w/ Google Apps Script

查看:18
本文介绍了如何在使用 Google Apps 脚本迭代 Google 电子表格时跳过隐藏的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含许多隐藏行的 Google 电子表格,我想在遍历电子表格中的行列表时跳过它们.

I have a Google Spreadsheet with many hidden rows in it, and I want to skip them when iterating through a list of rows in the spreadsheet.

这主要是一个效率问题,因为我要处理超过一半的行被隐藏且无需检查.

It's mainly an efficiency issue, as I'm dealing with over half of my rows being hidden and in no need of being checked.

任何帮助将不胜感激.

推荐答案

在 Apps Script 中没有直接的方法可以做到这一点,但是有一个 功能请求 open 以提供获取行的显示/隐藏状态的方法,如果您想为它加注星标.

There's no direct way of doing this in Apps Script, but there is a feature request open to provide a way get the show/hide status of a row, if you want to star it.

这篇关于如何在使用 Google Apps 脚本迭代 Google 电子表格时跳过隐藏的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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