I'm trying to figure out how to write scripts for Google tables, I can’t solve the following problem:
There is a column "A" on sheet 1, where changes are daily made in each cell. How to create a column "A" on sheet 2, where in each cell will be made the dates of time for making changes in the column "A" of 1 sheet? In order to be able to check the time when changes were made to a particular cell in column "A" on page 1.
I understand that the onEdit function is used here:
The function onEdit (e) {// Set a comment on the cell to be used. var range = e.range; range.setNote ('Last modified:' + new Date ()); }
The code must start with the function editTables (// document ID //)
But that's all I managed to figure out. I can not figure out how to assign ranges, cells, columns and rows in Google tables to move forward somehow.
If anyone knows how to implement this script, please help.
Here is an example of what this should look like as a result:
