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 sheet csv can't support ???

See original GitHub issue

` var worksheet1 = workbook.addWorksheet(‘sheet1’,{properties: {tabColor: {argb: ‘FF00FF00’}}}) var worksheet2 = workbook.addWorksheet(‘sheet2’,{properties: {tabColor: {argb: ‘FF00FF00’}}})

worksheet1.addRows([[3,‘bob’,new Date()],[1,2,3]]); worksheet2.addRows([[4,‘Sam’,new Date()]]);

workbook.eachSheet(function(worksheet, sheetId) { console.log(worksheet) });

var st = fs.createWriteStream(‘demo.csv’);

workbook.csv.write(st) `

but csv result is democsv

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
darshanksexathoughtcommented, Dec 1, 2020

@kgajowy but if you open a csv there you have an option to add another sheet , then why cant we have that feature in this package?

0reactions
DarkFlamecommented, Mar 29, 2017

@kgajowy thanks,you are right

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is csv with multi tabs/sheet possible? - Stack Overflow
Your answer is in your question, don't use text/csv (which most certainly can not do multiple sheets, it can't even do one sheet;...
Read more >
Adding worksheets to downloaded CSV file and saving
It can't work with multiple sheets. Whenever you re-open the file, it will only show a single sheet. It's not possible to recover...
Read more >
csv did not save all tabs - microsoft excel - Super User
csv is a simple text file format. It can't store multiple sheets, pivottables, or any other advanced feature. It can't even store font...
Read more >
How to Export Multiple Excel sheets to CSV or Text Files ...
Using the basic functions in Excel, you are only able to save your entire worksheet as a text file or as a CSV....
Read more >
How to Import Multiple CSV Files into Separate Worksheets in ...
In this tutorial you will learn how to import multiple CSV files into separate worksheets in the same workbook in Excel.
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