Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 05-10-2016, 01:35 PM
macropod's Avatar
macropod macropod is offline Get tab_hyperlinks from Word Document Windows 7 64bit Get tab_hyperlinks from Word Document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by vince692 View Post
In order to understand .Hyperlinlk is an array of all selected Word hyperlinks ?
No, .Hyperlink is a Hyperlink object - .Hyperlinks is the Hyperlinks collection and .Hyperlinks(#), where # is a number, refers to a particular Hyperlink object from the Hyperlinks collection.
Quote:
Originally Posted by vince692 View Post
Is there a way to work with it or should i create a new variable as myarray() ?
Well, it's quite easy to loop through all the Hyperlink objects in the Hyperlinks collection, which is basically what your original code was doing, but you need to explain what the loop is supposed to achieve - do you just want to get a listing (which your original code does - then sends it to a message box), or do you want to process each hyperlink as it's found, or even do both?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



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 12:38 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