I need to loop from Cell V1 up to Cell HA1 custom period of DATES. Here is a manual way of doing it:
$objPHPExcel->getActiveSheet()->SetCellValue('V1', '2015-11-29');
$objPHPExcel->getActiveSheet()->SetCellValue('W1', '2015-11-30');
$objPHPExcel->getActiveSheet()->SetCellValue('X1', '2015-12-01');
$objPHPExcel->getActiveSheet()->SetCellValue('Y1', '2015-12-02');
$objPHPExcel->getActiveSheet()->SetCellValue('Z1', '2015-12-03');
$objPHPExcel->getActiveSheet()->SetCellValue('AA1', '2015-12-04');
But this is obviously too much code. and note that i cannot use any other function then SetCellValue as there are 20 more cell values before those.
I need to loop the dates from CELL V1 2015-11-29
up to CELL HA1 2016-06-04
how can i do that?