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

138
Visualizações
Google Apps Script for Spreadsheet - Keep getting the function () { [native code] } error

I execute my function, and it returns a function () { [native code] } error alongside the proper outputs. Example: Input Output

My code:

function SubmitInput() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var inputS = ss.getSheetByName("FORM");
  var outputS = ss.getSheetByName("ARCHIVE")

  var values = [[inputS.getRange("C7").getValue,
                inputS.getRange("C9").getValue(),
                inputS.getRange("C11").getValue(),
                inputS.getRange("F7").getValue(),
                inputS.getRange("F9").getValue(),
                inputS.getRange("F11").getValue(),
                inputS.getRange("I7").getValue(),
                inputS.getRange("I9").getValue()]];
 outputS.getRange(outputS.getLastRow()+1, 1, 1, 8).setValues(values);
 ClearCell();
}

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

you have a typo in your code

inputS.getRange("C7").getValue,¸

should be

inputS.getRange("C7").getValue(),¸
about 4 years ago · Juan Pablo Isaza Relatório
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