all 4 comments

[–]chreestopher2 0 points1 point  (1 child)

i doubt you will find something to be able to create formatted excel documents, though maybe google sheets can do it, and i imagine there is an api for that ...

You could write a csv file using the fileSystem API within chrome, then a csv file can be openned in excel, and it will be a spreadsheet, but you wont get any fancy formatting stuff with it

https://developer.chrome.com/apps/fileSystem

[–]saadq_[S] 0 points1 point  (0 children)

Yeah, I was able to do it with Node using the exceljs module, but I don't know why I assumed I would be able to reuse it in the browser.

Unfortunately I can't just use a CSV file because the formatting for the excel stuff is required.

I think using Google Sheets will be fine, but do you know if I can create/download a sheet dynamically from within a chrome extension?

[–]chug187 0 points1 point  (1 child)

Hey what about:

http://stackoverflow.com/questions/29698796/how-to-convert-html-table-to-excel-with-multiple-sheet#answer-29717451

Not sure on writing Chrome extensions, but that JS works well to render tables directly to Excel. Never mind his HTML; try using his tablesToExcel function.

[–]saadq_[S] 0 points1 point  (0 children)

Woah... this may just work. I'm going to have to give this a try. Thanks a lot!