79746340

Date: 2025-08-26 01:42:02
Score: 0.5
Natty:
Report link

It looks like you are relying on the persistence of the value of count; however, in Google Apps Script, the global context is executed on each execution.

One option is to use the Properties Service to store the value, but in this case, you might find it more convenient to get the column hidden state by using isColumnHiddenByUser(columnPosition)

Related

Reasons:
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Wicket