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

New Post: Sheet name containing accent (é è ç ....etc)

$
0
0

Hello,

How can i get to load only one sheet by name containing an accent ? By the way i tried to use the method bellow 

echo'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'
'
;$objReader = PHPExcel_IOFactory::createReader($inputFileType); $objReader = PHPExcel_IOFactory::createReaderForFile($inputFileName); $worksheetNames = $objReader->listWorksheets();foreach ($worksheetNames as $sheetName) {echo $sheetName, '
'
; }

But it seems like the listWorksheets() function is undefined. (am using the latest version);

Fatal error: Call to undefined method PHPExcel_Reader_Excel5::listWorksheets() in C:\Program Files\wamp\www\index.php on line 71

Thx,


Viewing all articles
Browse latest Browse all 2707

Trending Articles



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