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

135
Views
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 answers
Answer question

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 Report
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!