作者alair99 (I think home)
看板Python
標題[問題] 讀取excel裡的超連結
時間Wed Aug 19 11:09:49 2015
請問一下
要怎麼抓欄位文字裡面的超連結
我早上試了xlrd跟openpyxl好像都沒用
都是印出 none
覺得蠻奇怪的 @@"
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.114.69.226
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Python/M.1439953793.A.2F2.html
2F:→ Thisisnotptt: 好像沒有辦法直接從 Cell 裡面直接讀取 Hyper_link 08/19 15:14
3F:→ Thisisnotptt: 似乎是要從 sheet 裡面要求 hyper_link 的 list,從 08/19 15:15
4F:→ Thisisnotptt: 這裡的 list elements 可以找到他在哪個 cell 裡面 08/19 15:16
5F:→ Thisisnotptt: 同時也可以獲取 Hyper_link 的網址 08/19 15:16
6F:→ Thisisnotptt: 至於 openpyxl 我就沒有用過了。 08/19 15:18
7F:→ alair99: 謝謝 但我試了 hyperlink_list結果是空的 = = 08/19 16:52
8F:→ alair99: 算了 還是改用VBA吧 囧 08/19 16:52
9F:推 cliffcliff: 用vba啦 08/20 18:37