Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-09-2016, 08:14 AM
vince692 vince692 is offline Get tab_hyperlinks from Word Document Windows 7 64bit Get tab_hyperlinks from Word Document Office 2010 32bit
Novice
Get tab_hyperlinks from Word Document
 
Join Date: May 2016
Posts: 22
vince692 is on a distinguished road
Question Get tab_hyperlinks from Word Document

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
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding tables to Created word document whilst other word document open Help rpb925 Word VBA 18 03-30-2016 04:45 PM
Get tab_hyperlinks from Word Document Word document with Macros with trusted locatin versus Word document 1997-2003 Cardinal2 Word 1 11-30-2015 07:42 PM
Get tab_hyperlinks from Word Document How can I link a portion of a word document to another word document and have it auto update? __Data Word 1 06-30-2015 11:03 PM
Get tab_hyperlinks from Word Document Word 2013, changes in word document automatically apply to another word document roosje Word 1 07-09-2014 12:13 PM
Get tab_hyperlinks from Word Document Convert word document to JPEG. The word document may contain headerfooters vijayaram Word 1 12-30-2009 08:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft