Hi,
I am a newbie so every thought will be helpfull ! This is my first vb script...
I'd like to get all hyperlinks into a Word document as table.
Here's my current code de get all hyperlinks :
Quote:
For Each hlien In ActiveDocument.Hyperlinks
With hlien
message = message & .TextToDisplay & .Address & vbCrLf
End With
Next
MsgBox message
|
My issue is that i need to get only one of the hyperlink. In "message" i got one string with all hyperlink which is not good for me. I want to get the only one i am interesting in.
My thought was instead of getting all hyperlink in one string, getting all hyperlink as table could help me searching special caractere into the tab to get the right index&value.
Hope this is not too foggy.
Any hints will be apreciated !
Best Regards,
Vincent