Open nktnet1 opened 1 month ago
hello, @nktnet1 have you found any workaround for this issue?
Not really - other than manually un-hiding the columns, run my script, then hiding them again.
Other alternatives might be to use the official Google API, or for a hacky solution, include the header row as the first array item in addRows
.
Below is the code I'm currently using:
This works fine when there are no hidden columns. However, if I were to hide some columns using Google Sheet's GUI interface, the heading gets replaced by the first row when using
sheet.addRows(data)
By hidden columns, I mean this: