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

Master Object

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.