ActionSetting.Hyperlink Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  With ActivePresentation.Slides(1).Shapes(1) _
        .ActionSettings(ppMouseClick)
    .Action = ppActionHyperlink
    .Hyperlink.Address = "http://www.microsoft.com/"
End With

See Also