Problem Exporting to Excel

Problem Exporting to Excel

  

Hello, i'm trying to export an Agregate to an Excel document. But after downloading the file and trying opein it, i get an error of corrupted file or bad format

On the Download i set the File Name option to "something.xls" and the Mime-Type to 

SyntaxEditor Code Snippet

"application/vnd.ms-excel"


Any idea what's going on??

Solution

How I've done it is with these values.

"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" as the MimeType

and 

"*.xlsx" as the file format

I don't know if this will change the result that you are seeing.

Solution

Thank you, that did the trick!!