Skip to content

Instantly share code, notes, and snippets.

@chawel chawel/on_edit_trigger.gs
Last active Jun 7, 2018

Embed
What would you like to do?
Google Spreadsheet script: Monitors specific column and comments when edited (adds modification date)
function onEdit(e){
var sheet = e.source.getActiveSheet();
var editedCell = sheet.getActiveCell();
// w tym przykładzie monitorujemy 6 kolumnę
if(editedCell.getColumn() == 6){
editedCell.setNote('Last modified: ' + new Date());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.