Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is It Possible to Create CSV File with Multiple Tabs in Command Prompt? [closed]

I'm looking to create a .csv file that can be opened in Excel that displays 2 tabs. However, the catch is that the script that I write has to be in a batch file (command prompt). I've seen a few ways to do this online, but they're all JAVA programs. I'm not sure about doing this in command prompt

Is this even possible?

like image 425
sanshou0813 Avatar asked Feb 03 '12 16:02

sanshou0813


People also ask

Can you have multiple tabs in a CSV file?

CSV files are plain text files. Not spreadsheet files. Therefore, you can not have multiple sheets in a single CSV file.

How do I automatically open a CSV file in Excel with columns?

To open a comma-delimited (CSV) file properly, use Excel's Data Import from Text feature to open the import wizard and set all columns as text.


1 Answers

Asking excel to save a multiple-sheet workbook as CSV got me this error message:

csv files describe a single sheet

So, no, not possible.

like image 54
Andrew Beals Avatar answered Oct 16 '22 21:10

Andrew Beals