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

139
Visualizações
Is there a way to add a note to a cell the first time it gets edited?

I am trying to create a calendar that auto adds the note 'Ride not yet scheduled' when I add text to a cell in google sheets. I keep getting either the error "cannot read 'setNote' of undefined" or "Cannot set property 'setNote' of undefined". This is the first time I've tried anything like this and I'm not sure where I'm going wrong/if that's actually possible.

What I have so far is:

function onEdit(e) {
  // Set a comment on the edited cell to indicate a ride has not been scheduled
  var range = e;
  range.setNote = ('Ride not yet scheduled ');
}
// [END apps_script_triggers_onedit] 
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