I am using onEdit to trigger on a cell value change. But if the cell value is updated because of the formula then onEdit is not working. Any workaround for this ?
相关问题
- How can I force all files in a folder to be owned
- Google Apps Script: testing doPost() with cURL
- Google Apps Script to turn in, grade, and return a
- Script fails on SpreadsheetApp.openById - Requires
- employee id automatic generate with prefix
相关文章
- Trigger on INSERT ON DUPLICATE KEY
- How to allow access for importrange function via a
- Google app script trigger not working
- Set Date/Time to 00:00:00
- indexOf returning -1 despite object being in the a
- Using MIN() inside ARRAYFORMULA()
- How can my Google Apps Script be run by others the
- Google Spreadsheet COUNTIF formula equivalent with
No direct solution. as explained here: GAS-triggers-forumla
the simple triggers only work when a user modifies the sheet. If you want to detect changes in a cell due to a formula, a workaround would be to have a time-based trigger which checks the current value of the cell with the old value, stored as a 'property' of the script/user. In this way it'll know if there'a a change after a fixed amount of time.