Hyperlink Object
Excel Developer Reference |
Represents a hyperlink.
Remarks
The Hyperlink object is a member of the Hyperlinks collection.
Example
Use the Hyperlink property to return the hyperlink for a shape (a shape can have only one hyperlink). The following example activates the hyperlink for shape one.
Visual Basic for Applications |
---|
|
A range or worksheet can have more than one hyperlink. Use Hyperlinks(
index
), where
index
is the hyperlink number, to return a single Hyperlink object. The folllowing example activates hyperlink two in the range A1:B2.
Visual Basic for Applications |
---|
|
See Also