This documentation is archived and is not being maintained.

Shape.Hyperlink Property

Office 2007
Returns a Hyperlink object representing the hyperlink associated with the specified shape.

Syntax

expression.Hyperlink

expression   A variable that represents a Shape object.

Example

This example sets shape one on page one in the active publication to jump to the specified Web site when the shape is clicked.

Visual Basic for Applications
Dim hypTemp As Hyperlink

Set hypTemp = ActiveDocument.Pages(1).Shapes(1).Hyperlink

hypTemp.Address = "http://www.tailspintoys.com/"

See Also


Show: