Question Webspeed to XLSX

stokefc22

Member
Hi All,

We have a (very old) website that has a report that can be dumped to excel.. ok were doing well so far!

The task is to change other reports to output to excel too, I have managed to get this going but I'm having an issue with content-output, currently we use x-msexcel.

However this seems to throw an error when opening teh document in excel as this is a .xls document type, does anyone know the content-output that I would need to use to get it to generate a .xlsx?

I've tried vnd.x-msexcel and vnd.openxmlformats-officedocument.spreadsheetml.sheet.

thanks in advance
 

Cecil

19+ years progress programming and still learning.
How are you creating / generating the Excel File?

I don't think the mime type is the issue. It sounds like Excel is reading the file but it's not in the expected format structure format.

Check out the http://docxfactory.com/
 
Top