Hi,
I have an application that is saving Excel exports. I’m saving the export to a ByteArrayOutputStream, using the workbook.save(stream, type) method.
The format type is EXCEL2007, and the file name I specify is “filename.xlsx”. However, when the file is saved to disk, it is being saved as “filename.xlsx.xlw”. I’m on a Mac. Is this a feature?
Hi,
Thank you for considering Aspose.
Please share your sample code and generated file here. This will help us figure out the issue soon.
Thank You & Best Regards,
Hi,
Thanks for the prompt reply! I figured it out…the mime type was set incorrectly.
I had “application/vnd.ms-excel” which generated the “xlw” file.
The correct mime type was “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”, which generated the proper “xlsx” file.