获取Excel单元格里的超链接地址

image


# https://learn.microsoft.com/zh-cn/office/vba/api/excel.hyperlinks.item
# https://learn.microsoft.com/zh-cn/office/vba/api/excel.hyperlink.address
 
...
sht = sheet.sht
sht.Range(cell).value                          # >> 查看原图
sht.Range(cell).Hyperlinks.Item(1).Address     # >> https://oss1.qun100.com/ZDM2/43a68b01q5RbjhglB5I.jpg


posted @ 2024-05-27 20:27  中华强  阅读(83)  评论(0)    收藏  举报