Hyperlink.Address property (PowerPoint)

Returns or sets the Internet address (URL) to the target document. Read/write.



expression A variable that represents an Hyperlink object.

Return value



This example scans all shapes on the first slide for the URL to the Microsoft Web site.

Set myDocument = ActivePresentation.Slides(1)

For Each s In myDocument.Hyperlinks

    If s.Address = "https://www.microsoft.com/" Then

        MsgBox "You have a link to the Microsoft Home Page"

    End If


See also

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