Hyperlinks.Item property (Publisher)
Returns an individual object from a specified collection. Read-only.
Syntax
expression.Item (Index)
expression A variable that represents a Hyperlinks object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | Long | The number of the object to return. |
Example
This example displays the address of the first hyperlink in shape one of the active publication.
MsgBox "Address of first hyperlink: " _
& ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.Hyperlinks.Item(1).Address
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.