Ok, you're right. With this code, there's no fatal error...
My Code from my first post:
My Code from my first post:
$objReader = PHPExcel_IOFactory::createReaderForFile('descriptions.xlsx');
$objPHPExcel = $objReader->load('descriptions.xlsx');
$objPHPExcel->setActiveSheetIndex(0);
$sheet = $objPHPExcel->getActiveSheet();
$cell = $sheet->getCellByColumnAndRow(3,3);
if ($cell->getValue() instanceof PHPExcel_RichText) {
echo "success!";
}
echo "no =(";
The Output is everytime "no =(" and that's my problem. $cell->getValue() is never an instance of PHPExcel_RichText.