作者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/cn.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