How to determine the last row of the print area in PHPExcel?

Topics: Developer Forum
Apr 10, 2012 at 6:25 AM

I have a large table, which does not always fit on a print page. If the table does not fit on one print page, script must write "Contunue on next page" into last row of current page. How to do it?

Nov 16, 2012 at 9:08 PM

I am looking for the same answer. Anyone out there know ???

Nov 16, 2012 at 9:09 PM

Hi ad1r,


How do you solve that issue ? Would you mind to share ?





Nov 18, 2012 at 9:06 AM


I didn't found beautiful method, but my problem solve a "setBreak()" method.



$activeSheet->setBreak('A'.$row, PHPExcel_Worksheet::BREAK_ROW);