Share via


_Slide.Hyperlinks Property

Returns a Hyperlinks collection that represents all the hyperlinks on the specified slide. Read-only.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property Hyperlinks As Hyperlinks
    Get
'Usage
Dim instance As _Slide
Dim value As Hyperlinks

value = instance.Hyperlinks
Hyperlinks Hyperlinks { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Hyperlinks
Hyperlinks

Examples

This example allows the user to update an outdated Internet address for all hyperlinks in the active presentation.

oldAddr = InputBox("Old Internet address")

newAddr = InputBox("New Internet address")

For Each s In ActivePresentation.Slides

    For Each h In s.HyperlinksIf LCase(h.Address) = oldAddr Then h.Address = newAddr

    Next

Next

See Also

Reference

_Slide Interface

_Slide Members

Microsoft.Office.Interop.PowerPoint Namespace