I have use the code below to find if cell content has been underlined or not using phpexcel
$inputFileType =PHPExcel_IOFactory::identify($file);
$objReader =PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel =$objReader->load($file);
$checkUnderline =$objPHPExcel->getActiveSheet()->getStyle($col.$row)->getFont()->getUnderline();
The answer will be either 'single' or 'none'. Now, I would like to know how to do this using PHPSpreadsheet.Thank you.