1 if ($PHPExcel->getActiveSheet()->getCell('A1')->hasHyperlink()){ 2 $url = $PHPExcel->getActiveSheet()->getCell('A1')->getHyperlink()->getUrl(); 3 }else{ 4 $url = ''; 5 }