Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

322
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda