Last active
June 7, 2018 21:36
-
-
Save chawel/7381073687a254938355b5c50d5e4c62 to your computer and use it in GitHub Desktop.
Google Spreadsheet script: Monitors specific column and comments when edited (adds modification date)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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