如何以编程方式编辑Word文档中的所有超链接?
是否可以编写宏、VBA 代码或 VBScript 来编辑 Word 文档中所有超链接的 URL? Word 97-2003 或 docx 格式。
Is there a macro, VBA code or VBScript that I can write to edit the urls of all the hyperlinks in my Word document? Either Word 97-2003 or docx format.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
以下是所有超链接方法和属性的链接
Here is a link to all the Hyperlink Methods and Properties
这对我帮助很大。用户通过映射驱动器打开了包含超链接的 Word 文档,而不是通过网络进行长途访问。将保存数百个文档!
我使用 mid() 函数:
This helped me immensely. User had opened Word Docs containing hyperlinks through her mapped drive instead of going in the long way through network. Hundreds of docs will be saved!
I used mid() function:
感谢Tester提供的解决方案,用它来快速更换:
Thanks to Tester for the solution, used it for a quick replace: