Partager via


ActionSetting.Hyperlink Property (PowerPoint)

Returns a Hyperlink object that represents the hyperlink for the specified shape. Read-only.

Syntax

expression .Hyperlink

expression A variable that represents a ActionSetting object.

Return Value

Hyperlink

Remarks

For the hyperlink to be active during a slide show, the Action property must be set to ppActionHyperlink.

Example

This example sets shape one on slide one in the active presentation to jump to the Microsoft Web site when the shape is clicked during a slide show.

With ActivePresentation.Slides(1).Shapes(1) _

        .ActionSettings(ppMouseClick)

    .Action = ppActionHyperlink

    .Hyperlink.Address = "https://www.microsoft.com/"

End With

See Also

Concepts

ActionSetting Object Members

ActionSetting Object