外部链接 [英] external links

查看:80
本文介绍了外部链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。我需要替换Excel文件中指向其他Excel文件的一些链接("编辑链接"按钮)。我正在搜索并打开xml SDK,但却无法找到包含所有链接的集合。我应该使用什么物品?



sxvxcbxb

Hi all. I need to substitute some links in Excel file that point to other Excel files (Edit Links button). I'm searching in open xml SDK and simply can't find collection with all that links. What object should I use?


sxvxcbxb

推荐答案

通过调用以下内容迭代工作簿中给定工作表的所有超链接关系:

Iterate through all hyperlink relationships of a given sheet in a workbook by calling the following:
worksheetPart.HyperlinkRelationships;


您可以遍历整个列表。

You can iterate through the entire list.


这篇关于外部链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆