How to change the contents of the file using phpexcel?

Good afternoon, prompt how to modify the contents of the xlsx file with phpexcel without losing the contents of the file.
$phpexcel = new PHPExcel(); // Create the PHPExcel object
 /* Every time we make active the 1st page and get it, then written to data */
 $page = $phpexcel->setActiveSheetIndex(0); // Make active the first page and get it
 $page->setCellValue("A1", "WORD"); // Add in cell A1 the word "Hello"
 $page->setTitle("Test"); // Put the title "Test" on the page
 /* We start to prepare for recording information in the xlsx file */
 $objWriter = PHPExcel_IOFactory::createWriter($phpexcel, 'Excel2007');
 /* Write to the file */

As you can see, there are life.xlsx. It contains 1000 rows of data. I have in cell A1 write 1 word and then save the file. Ie original data must not be lost, but should be just added one word into cell A1.
July 8th 19 at 11:30
1 answer
July 8th 19 at 11:32
Well Google elementary.
In order for the file to change, it must first be opened.
Well, I have not found... half a day they fought. - Selena commented on July 8th 19 at 11:35

Find more questions by tags PHP