G
Geoff Cox
Hello,
The code below looks at each slide and finds any action buttons (type
1/130) but I would like to display the contents of the Address and
SubAddress fields.
I know that I need oHl.Address and oHl.SubAddress but not clear how to
get this info for each action button found.
How would I do this?!
Thanks
Geoff
Sub check_for_hyperlinks(strMyFile As String)
Dim oPresentation As Presentation
Set oPresentation = Presentations.Open(strMyFile)
With oPresentation
Dim oSl As Slide
For Each oSl In ActivePresentation.Slides
Dim oSh As shape
For Each oSh In oSl.Shapes
If oSh.Type = 1 Then
If oSh.AutoShapeType = 130 Then
MsgBox "we have an action button"
End If
End If
Next oSh
Next oSl
oPresentation.Close
End With
Set oSh = Nothing
Set oPresentation = Nothing
End Sub
The code below looks at each slide and finds any action buttons (type
1/130) but I would like to display the contents of the Address and
SubAddress fields.
I know that I need oHl.Address and oHl.SubAddress but not clear how to
get this info for each action button found.
How would I do this?!
Thanks
Geoff
Sub check_for_hyperlinks(strMyFile As String)
Dim oPresentation As Presentation
Set oPresentation = Presentations.Open(strMyFile)
With oPresentation
Dim oSl As Slide
For Each oSl In ActivePresentation.Slides
Dim oSh As shape
For Each oSh In oSl.Shapes
If oSh.Type = 1 Then
If oSh.AutoShapeType = 130 Then
MsgBox "we have an action button"
End If
End If
Next oSh
Next oSl
oPresentation.Close
End With
Set oSh = Nothing
Set oPresentation = Nothing
End Sub