Hyperlinks Object
Publisher Developer Reference |
Represents the collection of Hyperlink objects in a text range.
Example
Use the Hyperlinks property to return the Hyperlinks collection. The following example deletes all text hyperlinks in the active publication that contain the word "Tailspin" in the address.
Visual Basic for Applications |
---|
|
Use the Add method to create a hyperlink and add it to the Hyperlinks collection. The following example creates a new hyperlink to the specified Web site.
Visual Basic for Applications |
---|
|
Use Hyperlinks(index), where index is the index number, to return a single Hyperlink object in a publication, range, or selection. This example displays the address for the first hyperlink if the specified selection contains hyperlinks.
Visual Basic for Applications |
---|
|
The Count property for this collection returns the number of hyperlinks in the specified shape or selection only.
See Also