Can anyone help me how I can get a script that can run a timestamp for different tabs.
So each tab is going to be used by different users, I have 4 different users and sheets...each time the user ticks the check box in column three, i need a time stamp on column 1. I need this to happen to sheet 2, 3, 4 and 5.Is this possible?
My current script is as follows. I had it working for just one sheet but now I have added other sheets it is happening on all sheets and not when a specific column is changed.
function onEdit(e) {var row = e.range.getRow();var col = e.range.getColumn();if(col === 2 && row > 1 && e.source.getActiveSheet().getName() === "June 2021"){if(e.source.getActiveSheet().getRange(row,1).getValue() == "" ){e.source.getActiveSheet().getRange(row,1).setValue(new Date());}}}