I need this script to work on just a named sheet, not all of them please in google sheets
function onEdit(e) {
var row = e.range.getRow();
var col = e.range.getColumn();
if(col == 6){
e.source.getActiveSheet().getRange(row,7).setValue(new Date());
}
}
It applies to all sheets not just one
This should work for your needs:
Just change YourSheet in the script to your own sheet name.