Problem with images

Nov 5, 2011 at 1:51 AM

I have a problem with phpExcel. I need to put images to the existing ".xls" file. I open it with this command $objPHPExcel = PHPExcel_IOFactory::load("price_".$UniID.".xlsx");

when I put text to this file all is ok, but when I put images phpExcel adds "1" to the end of the image file name like this: was "logo.jpg" -> became "logo1.jpg" and then error is occurred.

When I put images to the new file all is fine.

Tell me what to do?