Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2024, 08:22 AM
ksor ksor is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Advanced Beginner
Find the document that is Hyperlinking amother named document ???
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default Find the document that is Hyperlinking amother named document ???

I have 1000's of Word documents in a folder hierarchy.




I have the NAME of a document I know for sure is referenced in one or more of the documents in the hierarchy.


How can I find these documents ?

Last edited by Charles Kenyon; 01-08-2024 at 11:55 AM. Reason: spelling correction
Reply With Quote
  #2  
Old 01-08-2024, 11:56 AM
Charles Kenyon Charles Kenyon is offline Find the document that is Hyperlinking amother named document ??? Windows 11 Find the document that is Hyperlinking amother named document ??? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

If the link displays the name of the document, simply use a Windows search of the top folder.
Reply With Quote
  #3  
Old 01-08-2024, 01:36 PM
ksor ksor is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Advanced Beginner
Find the document that is Hyperlinking amother named document ???
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
If the link displays the name of the document, simply use a Windows search of the top folder.

Maybe I was a little too fast there ... the 'hyperlink' is an ICON I have to click on to open the document - I need to find the name of the document where that ICON is included.
Reply With Quote
  #4  
Old 01-08-2024, 03:09 PM
Guessed's Avatar
Guessed Guessed is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

If the hyperlink isn't clear text in the documents then you will probably need a macro to search through each document.

Post a sample doc that contains one of these link icons so we can work out how the code would need to work.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #5  
Old 01-11-2024, 04:51 AM
Italophile Italophile is online now Find the document that is Hyperlinking amother named document ??? Windows 11 Find the document that is Hyperlinking amother named document ??? Office 2021
Expert
 
Join Date: Mar 2022
Posts: 338
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Quote:
Originally Posted by ksor View Post
I have 1000's of Word documents in a folder hierarchy.


I have the NAME of a document I know for sure is referenced in one or more of the documents in the hierarchy.


How can I find these documents ?
You will need VBA code that traverses the folder hierarchy and opens each document in turn. The code will then need to check if there are any hyperlinks, if not close the document, then loop through the hyperlinks examining the link for the document name. I assume you will then require some form of output.

Given the quantity of documents that need to be processed it will take hours. If the folders aren't on a local disk the process will take even longer.

Is your need for the information so great that you are prepared to tie up a pc for at least a day?
Reply With Quote
  #6  
Old 01-11-2024, 06:02 AM
ksor ksor is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Advanced Beginner
Find the document that is Hyperlinking amother named document ???
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Smile

Quote:
Originally Posted by Italophile View Post
You will need VBA code that traverses the folder hierarchy and opens each document in turn. The code will then need to check if there are any hyperlinks, if not close the document, then loop through the hyperlinks examining the link for the document name. I assume you will then require some form of output.

Given the quantity of documents that need to be processed it will take hours. If the folders aren't on a local disk the process will take even longer.

Is your need for the information so great that you are prepared to tie up a pc for at least a day?

In fact theWindows search CAN find it IF it's inserted as a HYPERLINK, but unfortunately I have inserted an icon that links to the document - and this can NOT be analyzed by Windows search ... and you're quiet right VBA code is running for 4-5 hours to find it !


THX to all of you for your time
Reply With Quote
  #7  
Old 01-11-2024, 03:17 PM
Guessed's Avatar
Guessed Guessed is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Do you already have code to do this or are you still looking for code?

You need to post a sample doc with a couple of these icons so we can see what you are dealing with if you want code created.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #8  
Old 01-11-2024, 10:25 PM
ksor ksor is offline Find the document that is Hyperlinking amother named document ??? Windows 10 Find the document that is Hyperlinking amother named document ??? Office 2016
Advanced Beginner
Find the document that is Hyperlinking amother named document ???
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default

I made up some dirty code to do this and by chance I found the document that was 'linking' the the othe document by a icon.


I think I'll will store the code for future use IF I should need to find another document linked to by these icons.


I was looking into the possibillity in the LINKED document to make a sort of 'chain back' to the LINKING document BUT ...


I link to mails, Word documents, MP3's, videos KMZ's so I havent figured it out yet how to do that.


So I have to say "PROBLEM SOLVED" for now
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find all shapes in a document killmenow Word VBA 2 06-17-2020 12:46 AM
Find the document that is Hyperlinking amother named document ??? USB disconnected while document was live; saved document now corrupt. How do I retrieve document? MaxB Word 2 07-01-2019 04:42 PM
Find the document that is Hyperlinking amother named document ??? Find several words in document, copy paragraph and create new document coolio2341 Word VBA 6 01-31-2019 01:17 PM
Hyperlinking to Bookmarks in a separate Word document Cat Perry Word 7 03-23-2018 04:39 PM
Find the document that is Hyperlinking amother named document ??? Named text field in Word document ArtKilp Word 3 01-27-2016 06:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:36 AM.


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