How can you monitor for click events in Google Apps script for spreadsheets?

前端 未结 6 1832
轮回少年
轮回少年 2021-01-12 13:51

I\'m managing a Google spreadsheet with a script. onEdit is working - I can colour a cell red by putting

SpreadsheetApp.getActiveRange().setBackgroundRGB(25         


        
6条回答
  •  遥遥无期
    2021-01-12 14:15

    I believe the new trigger onSelectionChange(e) will achieve this. It's in the docs but at time of writing isn't yet working on my sheet. https://developers.google.com/apps-script/guides/triggers?hl=en

提交回复
热议问题