Partager via


Hyperlink.Address Property (PowerPoint)

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

Syntax

expression .Address

expression A variable that represents an Hyperlink object.

Return Value

String

Example

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

Next

See Also

Concepts

Hyperlink Object

Hyperlink Object Members