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

286
Views
xlsx: Removed Records: Document Theme from /xl/workbook.xml part (Workbook). - using Excel.js

After my changing into excel file and download it to user I receive such error.

   export const getExcelData = async (page: Page): Promise<Blob> => {
    
     const key = await page.evaluate(RAIL_PORTAL.excelKey);   const blob = await downloadExcel(key);
    
      return blob; };
 also when I make changes:

export const writeToExcel =async (file: ArrayBuffer, sheetName: string, changes: Changes) =>{
  const newWorkbook = new ExcelJS.Workbook();
  const wb = await newWorkbook.xlsx.load(file);
  const ws = wb.getWorksheet(sheetName);
  Object.keys(changes).map(cell => {
      ws.getCell(cell).value = changes[cell];
  })
  
  return await wb.xlsx.writeBuffer({ useStyles: true })
}

I receive error that file is damaged

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!