question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple worksheet not work with streaming

See original GitHub issue

Hi, I’m trying to make a xls file have three worksheets as below

let wb = new Excel.stream.xlsx.WorkbookWriter({ filename: `./stats-${new Date().toLocaleString()}.xls` });
let dataWS = wb.addWorksheet("Raw Data");
let statsWS = wb.addWorksheet("stats report 1");
let deviceStatsWs = wb.addWorksheet("stats report 2");
dataWS.addRow(row).commit();
deviceStatsWs.addRow(item).commit();
statsWS.addRow(item).commit();
 wb.commit()
      .then(() => {
        app.log.info(`done`);
        process.exit(0);
      })
      .catch((err) => {
        app.log.error(err);
     })

but only first worksheet written. Is it possible by exceljs or not a feature

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

1reaction
zonetticommented, Nov 20, 2018

@m90 I’m also using LibreOffice and I got it to work after the downgrading. I’m using LibreOffice 6.0.4.2.

1reaction
zonetticommented, Nov 19, 2018

@m90 Workaround for now: downgrade it to 1.4.10

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add multiple worksheet to a stream workbook with ExcelJS
Using the Streaming XLSX WorkbookWriter : const Excel = require('exceljs'); const sheetNames = ["A" ...
Read more >
Start streaming real-time data with the Data Streamer add-in
Learn how to stream data with Excel's Data Streamer add-in. ... Start Data button on the Data Streamer tab. The data will stream...
Read more >
SAS 9.4 M5 ODS Excel output into multiple worksheets not ...
Solved: After the recent upgrade to SAS 9.4 M5 the following code does not produce an excel workbook with the output on separate...
Read more >
How To: Import Multiple Excel Sheets or a Specific...
In the case where you have one Excel workbook with several sheets, you can use aDynamic Input toolto import the sheets instead of...
Read more >
Get Data from Multiple Excel Files with Different Sheet Names ...
Sometimes, there is a little difference in the content of each Excel file, and you might have a column or two that do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found