Reset checkboxes to false

前端 未结 4 1206
Happy的楠姐
Happy的楠姐 2020-12-06 19:09

I have a Google spreadsheet where column A has checkboxes in each row. I have written a script to perform a function on all rows where the checkboxes are checked, but I want

4条回答
  •  旧巷少年郎
    2020-12-06 19:36

    Alternatively, Since you want to uncheck everything in the range (and all of the range have checkboxes in them), just do:

    sheet.getRange('A3:A').setValue(false);
    

    without checking/looping.

提交回复
热议问题