Whenever I try to use the following script...
function onEdit(e){ if(e.range.getNote()){ e.range.setBackground('green'); }}I get the following error...
TypeError: Cannot read property 'range' of undefinedonEdit @ Code.gs:2Any help would be appreciated. Thanks!