is there AAAAAAAAAAAANY way to take an xls file and convert it to xlsx using a php code?
I've googled but I see not many people asked this and those who had similar problems found no solution.
I've tried using PHPExcel but I can't figure out how to do it and even if there is such possibility..

any suggestion would be appreciated!

Recommended Answers

Hello,

Try this site:
http://phpexcel.codeplex.com/
The boast being able to convert between the two formats among other things/

Jump to Post

All 3 Replies

I already got the phpExcel but I didn't find how to convert xls to xlsx..
I can create a new xlsx file and copy all the data there, but it messes up the data, so I'm looking for a way to do it without copying the files/data

Can i ask what it is you are really trying to do. Excel 2007 or 2010 will both read the xls file without problems. Are you trying to read it with another app that requires xlsx instead?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.