Hyperlink.ExtraInfoRequired property (Word)
True if extra information is required to resolve the specified hyperlink. Read-only Boolean.
Syntax
expression. ExtraInfoRequired
expression A variable that represents a 'Hyperlink' object.
Remarks
You can specify extra information by using the ExtraInfo argument with the Follow or FollowHyperlink method. For example, you can use ExtraInfo to specify the coordinates of an image map, the contents of a form, or a FAT file name.
Example
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 "
.Previous
End With
Set hypTemp = ActiveDocument.Hyperlinks.Add( _
Address:="https://www.msn.com", _
Anchor:=Selection.Range)
If hypTemp.ExtraInfoRequired = False Then
hypTemp.Follow
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.