how do i check that an inlineshape has an hyperlink

M

mudo453

does anybody know how do i check that if an inlineshape has an
hyperlink. i mean selected inline shape
 
T

Tony Jollans

Something along these lines ...

If Selection.InlineShapes.Count > 0 Then
If Selection.InlineShapes(1).Range.Hyperlinks.Count > 0 Then
MsgBox Selection.InlineShapes(1).Hyperlink.Address
End If
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top