Text box in excel disapearing

Topics: Developer Forum, User Forum
Feb 12, 2016 at 4:51 PM

In the code below I'm calling a spread sheet and sending data to a cell. I also have a test box above the cell I am writing the data to. When my program runs the data shows up in the cell but my text and text box are gone. How do I keep the text and text box on the spread Sheet?



/* Include PHPExcel /

require_once dirname(FILE) . '/Classes/PHPExcel.php';
require_once dirname(FILE) . '/Classes/PHPExcel/IOFactory.php';

$objPHPExcel = PHPExcel_IOFactory::createReader('Excel2007');
$objPHPExcel = $objPHPExcel->load('ceuform.xlsx');
$objPHPExcel->getActiveSheet()->setCellValue('C14', "My Data");
$objwriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
echo "DONE";