Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

325
Views
Looking to protect a sheet where no one can edit, but it permits to add values in the last row

Im trying to protect a sheet, but the problem is that if i protect all the sheet, it doesnt permit to add information to the users, so this is my question, Is it possible to let them add new information, but not to edit the past infromation?

function protect(){


var hoja = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Respuestas_N.F");
  var range = hoja.getLastRow();
  var protection = hoja.protect();
  protection.setUnprotectedRanges([range])
          .setDescription("")
          .removeEditors([""]);

}

I was trying with this script but it doesnt has the correct format, is there anyway to make this possible?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!