0
小區我有多個鏈路的小區如何添加多個鏈接與phpExcel
+---------+---------+
| | |
| Cell 1 | Cell 2 |
| | |
+---------+---------+
| | Link 1 |
| ROW 1 | Link 2 |
| | Link 3 |
+---------+---------+
我怎麼能做出這種有phpExcel? 我知道下面的代碼可以設置超鏈接到一個單元格,但我不知道如何設置多個鏈接到一個單元格!
$objPHPExcelExport->setActiveSheetIndex(0)
->setCellValue('A'.$index, $row)
->setCellValue('B'.$index, $link);
$objPHPExcelExport->getActiveSheet()
->getCell('B'.$index)
->getHyperlink()
->setUrl('http://'.$url);