How to skip hidden rows while iterating through Google Spreadsheet w/ Google Apps Script

kevlar1818 picture kevlar1818 · Jul 22, 2011 · Viewed 7.8k times · Source

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.

Any help would be appreciated.

Answer

Jan Kleinert picture Jan Kleinert · Aug 25, 2011

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.