Count row numbers of an Excel document

Topics: Developer Forum, User Forum
Jul 27, 2008 at 3:45 PM
Hello!

I'm using this marvellous class but I have a little problem. I need to count the number of rows of a file Excel. How I can do it? Which is the method I have to use?

Thank you very much
Gianluca

 
Developer
Jul 27, 2008 at 5:36 PM
Maybe getHighestRow() will come in handy?

Example:

$highestRow = $objPHPExcel->getActiveSheet()->getHighestRow();
Jul 27, 2008 at 5:44 PM
Yuhuuu!

Great suggest!

Thx!
Gianluca