php - Reading hyperlink URL -


how read url of hyperlink within cell using phpexcel?

$url = $objphpexcel->getactivesheet()->getcell('e26')->gethyperlink()->geturl(); 

edit

you might want test whether cell has hyperlink first

$objphpexcel->getactivesheet()->getcell('e26')->hashyperlink(); 

edit 2

note hyperlinks not loaded when setreaddataonly(true)


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -