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


Any idea what's going on??


How I've done it is with these values.

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


"*.xlsx" as the file format

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


Thank you, that did the trick!!