Table of contents
TOC
Collapse the table of content
Expand the table of content

Hyperlinks.Item Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns an individual object from a specified collection. Read-only.

Syntax

expression. Item( Index)

_expression_A variable that represents a Hyperlinks object.

Parameters

NameRequired/OptionalData TypeDescription
IndexRequiredLongThe 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
© 2018 Microsoft