3 résultats trouvés

par kamnouz
07 déc. 2011, 11:47
Forum : PHP avancé
Sujet : Call to a member function setCellValueByColumnAndRow() on a
Réponses : 4
Vues : 1028

Re: Call to a member function setCellValueByColumnAndRow() o

Voici je que j'ai déclaré en amont
$objet = new PHPExcel_Reader_Excel5();
$objet = PHPExcel_IOFactory::createReader('Excel5');
$excel = $objet->load('extract.xls');
$sheet = $excel->getSheet(0);
$sheet = $excel->getSheetByName('F1');
par kamnouz
07 déc. 2011, 11:45
Forum : PHP avancé
Sujet : Call to a member function setCellValueByColumnAndRow() on a
Réponses : 4
Vues : 1028

Re: Call to a member function setCellValueByColumnAndRow() o

Merci de ta réponse !

Comment puis-je vérifier cela ?
par kamnouz
07 déc. 2011, 10:53
Forum : PHP avancé
Sujet : Call to a member function setCellValueByColumnAndRow() on a
Réponses : 4
Vues : 1028

Call to a member function setCellValueByColumnAndRow() on a

Bonjour à tous,

J'utilise la librairie PHPExcel, à cette ligne :
$sheet->setCellValueByColumnAndRow(1,1,'coucou');
J'ai ce message d'erreur :
Call to a member function setCellValueByColumnAndRow() on a non-object 
Quelqu'un pourrait-il m'aiguiller :?:?:?
Nous sommes le 14 juin 2026, 23:04