I want to read comment written inside a cell in excel sheet but i am not be able to read it, following is my piece of code.
$objReader = PHPExcel_IOFactory::createReader('Excel2007');
$objReader->setReadDataOnly(true);
$objPHPExcel = $objReader->load("first.xlsx");
$objWorksheet = $objPHPExcel->setActiveSheetIndex(0);
objWorksheet->getComment('A2')->getText();
Your problem is
which tells PHPExcel to read only the cell data, ignoring any formatting or comments, etc.