jmaister / excellentexport

Javascript export to Excel
MIT License
1.36k stars 304 forks source link

XLS file exported by ExcellentExport.js doesn't open in Numbers app in Mac OS X #7

Closed vjcagay closed 10 years ago

vjcagay commented 10 years ago

It works fine on MS Office and LibreOffice, but when opened using Numbers it just displays the table markup code not the actual formatted data.

I used the XLS file exported from the demo here: http://jordiburgos.com/post/2014/excellentexport-javascript-export-to-excel-csv.html

jmaister commented 10 years ago

I can't check it on Mac. If someone else could check it...

gnuxl commented 10 years ago

This can work on excel 2011 but you need to perform some command like jujutsu:

1) rename the downloaded file to html: $ mv download download.html

2) force it to open in excel: $ open -a Microsoft\ Excel.app download.html

https://github.com/tokuhirom/js-xlsx-demo and https://github.com/SheetJS/js-xlsx appear to use https://github.com/eligrey/FileSaver.js/ to save files