Hyperlink Property

Applies To

InlineShape object, Shape object, ShapeRange collection object.

Description

Returns a Hyperlink object that represents the hyperlink associated with the specified Shape, InlineShape, or ShapeRange object. Read-only.

Note If there's no hyperlink associated with the specified shape, an error occurs.

See Also

Hyperlink object.

Example

This example displays the address for the hyperlink for the first shape in the active document.

MsgBox ActiveDocument.Shapes(1).Hyperlink.Address