I am designing a few scripts to write Excel files from MySQL stored data.
Unfortunately I need to design it for use for a company wide intranet and the down-side is some of the systems are runnin Citrix with Office 2000 (yep that’s right Excel 2000)
I am using the PHPExcel package and it is writing the files great, but they just open as jumbled chars in 2000.
I am currently using Excel5 output as I thought that would have better compatability
$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);
$objWriter->save($excelOutputFile);
I know the solutions really should be to upgrade the stupid old obsolete Citrix systems… or to export to CSV files instead of Excel but these are the paramaters for the project and the finance team aren’t the greatest people to try and negotiate with. So I would like to try and find a solution in PHP for the current systems if possible.
Anyone have any recommendations or pointers?
If you are not opposed to switching to a different library, assuming it has the features you need, this one (CSVtoXLS) is supposedly tested on Excel 2000. It looks like a straight up converter from csv to xls files, but it might be a good starting point.