Mar 16, 2010 at 9:15 AM
Edited Mar 16, 2010 at 9:21 AM
im trying to open an existing XLS File, put some data into it and save this document with another name.
In the original XLS are some DropDown fields with 3-4 values. (Which i don't change)
If i open the new generated XLS File these DropDown functions are not more available.
Here the code:
$objReader = PHPExcel_IOFactory::createReader('Excel5');
$objPHPExcel = $objReader->load("files/org_file.xls");
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$tempfile = "files/temp_".date("dmY_His").".xls";
In org_file.xls the DropDown is available, but is lost in the new temp_xxx.xls.
Where is the problem?