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 an 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

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.