Partager via


SlideRange.Hyperlinks Property (PowerPoint)

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

Syntax

expression .Hyperlinks

expression A variable that represents a SlideRange object.

Return Value

Hyperlinks

Example

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.Hyperlinks

        If LCase(h.Address) = oldAddr Then h.Address = newAddr

    Next

Next

See Also

Concepts

SlideRange Object

SlideRange Object Members