1 if ($PHPExcel->getActiveSheet()->getCell('A1')->hasHyperlink()){ 2 $url = $PHPExcel->getActiveSheet()->getCell('A1')->getHyperlink()->getUrl(); 3 }else{ 4 $url = ''; 5 }
转载于:https://www.cnblogs.com/davelvking/p/11506571.html
1 if ($PHPExcel->getActiveSheet()->getCell('A1')->hasHyperlink()){ 2 $url = $PHPExcel->getActiveSheet()->getCell('A1')->getHyperlink()->getUrl(); 3 }else{ 4 $url = ''; 5 }
转载于:https://www.cnblogs.com/davelvking/p/11506571.html