PHPexcel get highest sheet index range
Get the total number of sheets:
$sheetCount = $excelObj->getSheetCount();
The last sheet index will be:
$lastSheet = $sheetCount - 1;
Get the total number of sheets:
$sheetCount = $excelObj->getSheetCount();
The last sheet index will be:
$lastSheet = $sheetCount - 1;