I was looking for a good Excel file generation class and have not found it yet - the number one problem is that, although I can get the exported file to open in Excel (works in 2007), I always get a warning saying: "the file is in another format for the file extension. "
I noticed that Excel export to phpMyAdmin even generates the above warning message.
What code do other users use for this general requirement?
Quick update If I installed the file extension of my generated Excel file as xml, it will open in the browser (although I send the correct headers), but if I want to save the xml file and then open it from Excel, it works without any warnings! Unfortunately, this is more of a hassle for users than just clicking “Continue Anyway” with the warning I get. Any ideas?
Brynj source
share