How to save .XLSX file


How to save blob content as .xlsx file format. Kindly share me the sample Hescript method.

Do you want to extract a compiled XLSX file from the publication and save it as if the user was downloading it?

Yes this is more like user was downloading it and it worked in browser now broken with binary conversion. Please let me how to perform the same with HTML EXE.


I used filesSaver.js to create .xlsx file type and save it download folder.

check the sample file creation in fileSaver.js,

saveAs(new Blob([s2ab(wbout)],{type:“application/octet-stream”}), filename);

Such a method (similar to Download) isn’t handled in IE publications. Take a look at the “Main Demo” that comes with HTMLEXE: it shows you how to prompt users to save a file.