I have a master and a client google spreadsheet Client is a copy of the master I only can access in master ss, my collaborator only in the client ss. My collaborator can edit the client ss; then clicking a menu (called "register") should write his modifications on the Master ss and send me automatically a mail.
Ok, all is ok if my collaborator is a editor on the master; otherwise the register script doesn't go.
How can I do? I have looked for this and I have seen that there is an AddEditor method but I don't know use.
var tss = SpreadsheetApp.openById('SS.KEY')
here there is an error; You don't have permissions...
thanks