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

SlideRange.Hyperlinks Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

© 2018 Microsoft