答案 0 :(得分:1)
传递细胞进行阅读
require 'PHPExcel/PHPExcel.php';
$excelFile = 'files/excel1.xlsx';
if (file_exists($excelFile))
{
$objPHPExcel = PHPExcel_IOFactory::load($excelFile);
$excelData = $objPHPExcel->setActiveSheetIndex(0)->rangeToArray('H8:K16');
}