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

208
Views
google script copia datos de la hoja 1 a la primera hoja de fila vacía 2

Quiero hacer un script para mi hoja de cálculo de Google que copie un rango de datos de la hoja 1 a la última fila vacía en la Hoja 2 (columna a). No sé qué está mal, me sale este error: error Soy un novato en programación.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Copie el rango activo al final de la hoja 2

 function copy() { const ss = SpreadsheetApp.getActive(); const sh = ss.getSheetByName('Sheet1') const rg = sh.getActiveRange();//you select the range before running the script const vs = rg.getValues(); const tsh = ss.getSheetByName('Sheet2'); tsh.getRange(tsh.getLastRow() + 1, 1,vs.length,vs[0].length).setValues(vs); }
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!