Skip to content

Instantly share code, notes, and snippets.

Last active Jun 7, 2018
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