Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: error : Sheet index is out of bounds

$
0
0
That makes sense, but that's not what's happening here. PHPExcel fails while loading.

I am using this code and it fails right when trying to load.
$objReader->setLoadSheetsOnly( array("Sales Dashboard") );
$objPHPExcel = $objReader->load($filename);  <-- failure
$objWorksheet = $objPHPExcel->getSheetByName("Sales Dashboard");
The 'PHPExcel->getSheet('9')' in the exception is something internal to the load() function.

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>