setcellvalue is now working only shows echo

Topics: Developer Forum, User Forum
Jan 29, 2010 at 1:01 AM

Hi all,

From the first exmaple,

the result is as below : 

11:59:09 Set properties

11:59:09 Add some data  
11:59:09 Rename sheet  
11:59:09 Write to Excel2007 format
11:59:09 Done writing file.  


Do you guys have an idea why setcellvalue is not working?

Jan 29, 2010 at 9:06 AM

The result you've indicated is what is displayed on screen when running the 01simple.php example (though it should also display "Create new PHPExcel object"), and everything looks as it should. There's no errors, or messages there that indicate setCellValue hasn't worked.

Have you looked at the 01simple.xlsx file that is produced by that test script to see what it contains?