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

379
Views
Cómo leer datos de un archivo de Excel en Puppeteer (herramienta basada en script Java)

Alguien, por favor, ayude aquí. ¿Cómo puedo leer datos (valores de celda) de un archivo de Excel en Puppeteer (herramienta basada en script Java)? He probado diferentes paquetes npm como read-excel-file. Intenté escribir código como

 xlsxFile("Book1.xlsx").then((data) => { console.log(data); });

Y

 wb.xlsx.readFile("Book1.xlsx").then(function () { //sheet object var sheet = wb.getWorksheet("Sheet1"); //row object let rowObject = sheet.getRow(1); // cell object let cellObject = rowObject.getCell(3); var totalRowsIncludingEmptyRows = sheet.rowCount; console.log( "total number of rows are : " + totalRowsIncludingEmptyRows ); for (let i = 1; i <= totalRowsIncludingEmptyRows; i++) { let cellValue = sheet.getRow(i).getCell(2).toString(); console.log("Column B value from the row '" + i + "' : " + cellValue); } });

pero nada parece funcionar. Estoy tratando de leer datos (valores de celda) de la hoja de Excel. Por favor, ayuda. Gracias

about 4 years ago · Juan Pablo Isaza
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!