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

211
Views
Is there a way to combine two Excel files together using Javascript?

I am using ExcelJS npm oackage to generate my excel files in NestJS , it works fine for most part but I am unable to find a way to merge wroksheets from various workbooks in single new workbook ALONG with styling . I am able to copy the cell values but that too by an expensive opeartion like this below

 sheetLocal.eachRow({ includeEmpty: false }, (row, rowNumber) => {
    const targetRow = book.getWorksheet(sheetLocal.name).getRow(rowNumber);
    row.eachCell({ includeEmpty: false }, (cell, cellNumber) => {
      targetRow.getCell(cellNumber).value = cell.value;
    });
    row.commit();
  });

  book.getWorksheet(sheetLocal.name).model = cloneDeep(sheetLocal.model);
});

So is there any easy way to combine excel files in Javascript , like for Java it can be done using Aspose library.

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!