ExtraInfoRequired 属性 (Word)Hyperlink.ExtraInfoRequired property (Word)

如此 如果需要额外的信息来解析指定的超链接。True if extra information is required to resolve the specified hyperlink. 只读 BooleanRead-only Boolean.


expressionexpression. ExtraInfoRequired

_表达式_一个代表 "Hyperlink" 对象的变量。expression A variable that represents a 'Hyperlink' object.


您可以通过将 ExtraInfo 参数与**Follow** 或**FollowHyperlink** 方法一起使用来指定额外的信息。You can specify extra information by using the ExtraInfo argument with the Follow or FollowHyperlink method. 例如,可以使用 ExtraInfo 指定的坐标图像映射中,窗体或 FAT 文件名的内容。For example, you can use ExtraInfo to specify the coordinates of an image map, the contents of a form, or a FAT file name.


本示例首先插入指向 www.msn.com 的超链接,如果不需要额外信息,则跟踪此超链接。This example inserts a hyperlink to www.msn.com and then follows the hyperlink if extra information isn't required.

Dim hypTemp As Hyperlink 
With Selection 
 .Collapse Direction:=wdCollapseEnd 
 .InsertAfter "MSN " 
End With 
Set hypTemp = ActiveDocument.Hyperlinks.Add( _ 
 Address:="https://www.msn.com", _ 
If hypTemp.ExtraInfoRequired = False Then 
End If

另请参阅See also

超链接对象Hyperlink Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.