是啊,有点棘手。以下是如何获取所有这些信息:
Sub GetLinks()
Dim p As Presentation
Set p = ActivePresentation
Dim s As Slide
Dim sh As Shape
For Each s In p.Slides
For Each sh In s.Shapes
Dim tr As TextRange
Set tr = sh.TextFrame.TextRange
For I = 1 To tr.Runs.count
link = tr.Runs(I).ActionSettings(ppMouseClick).Hyperlink.Address
If Len(link) > 0 Then
Debug.Print "Link: " & link
End If
Next
Next
Next
End Sub