Reputation: 307
I am trying append a hyperlink to an image, on Click, to the Master Slide page of a PowerPoint using VBA/Macros. I have added the photo and am now looking for a function that will add 'www.comment.com/connect'
Private Sub commentConnect_Click()
...
End Sub
Should I use the .Hyperlink.Address = "www.comment.com/connect"
function?
Upvotes: 1
Views: 2184
Reputation: 14809
Assuming you have a reference to the image (or any other shape) in the variable oSh:
With oSh
.ActionSettings(ppMouseClick).Hyperlink.Address = "http://www.pptfaq.com"
End With
Upvotes: 1