Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: How to write in an existing xls file ?

$
0
0
Hi, I have an issue with the read, modify and save. I got Fatal error: Maximum execution time of 30 seconds exceeded in different functions.
Here is my code

$objPHPexcel = new PHPExcel_IOFactory::load('../Documentos/Formato_Pedido_Marco_Sosa.xls');

$objWorksheet = $objPHPexcel->getActiveSheet();
$objWorksheet->getCell('B22')->setValue('5135171');
$objWorksheet->getCell('F22')->setValue('4');

$objWriter = PHPExcel_IOFactory::createWriter($objPHPexcel, 'Excel5');
$objWriter->save('../Documentos/Formato_Pedido_Marco_Sosa.xls');

Thanks!!!

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>