how to count the rows of my excel

Nov 8, 2008 at 6:54 AM
hello,i am a student from chinese . now i want write a program in order to import my excel into database.but i don't know how to get the number of my excel's rows and columns,after 
$objPHPExcel = $objReader->load("mytest.xlsx");
please help me!
Coordinator
Nov 8, 2008 at 9:23 AM
For the current worksheet, you can use
    $objPHPExcel->getActiveSheet()->getHighestRow();
and
    $objPHPExcel->getActiveSheet()->getHighestColumn();


Nov 8, 2008 at 1:52 PM
thank you!