Hi,
I had a excel(A_Result.xls) file with macro, and i use browser access the php ,
the php file only load xls and save it with any modify.
and then macro in A_Result.xls is lost
Is there any way to accomplish what I'm trying to do?
or tell me what is happened?
Thanks very much,
-willcox
my code:
$objReader =PHPExcel_IOFactory::createReader("Excel5"); $objPHPExcel = $objReader->load($dirTool."/A.xls"); $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, "Excel5"); $objWriter->save($dirTool."/A_Result.xls");