How can I do a loop which based on Excel worksheet columns? I found (and used) WorksheetIterator, RowIterator and CellIterator but nothing about columns.
Try this! Work!
$limit = 10000; $value='sua mensagem' for($i=0,$j='A';$i<$limit;$i++,$j++) { $objPHPExcel->setActiveSheetIndex(0) ->setCellValue($j.$i, $value); }
set in $value what you want print.