TextToDisplay Property Example
This example creates an associated hyperlink with the text in shape two on slide one. It then sets the display text to "Microsoft Home Page" and sets the hyperlink address to the correct URL.
With ActivePresentation.Slides(1).Shapes(2) _
.TextFrame.TextRange
With .ActionSettings(ppMouseClick)
.Action = ppActionHyperlink
.Hyperlink.TextToDisplay = "Microsoft Home Page"
.Hyperlink.Address = "http://www.microsoft.com/"
End With
End With