Partager via


Selection.Hyperlinks Property (Word)

Returns a Hyperlinks collection that represents all the hyperlinks in the specified selection. Read-only.

Syntax

expression .Hyperlinks

expression A variable that represents a Selection object.

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example jumps to the address of the first hyperlink in the selection.

If Selection.Hyperlinks.Count >= 1 Then 
 Selection.Hyperlinks(1).Follow 
End If

See Also

Concepts

Selection Object

Selection Object Members