Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

External Links From Spreadsheet

Status
Not open for further replies.

TopJack

Programmer
Mar 10, 2001
153
GB
Any ideas or direction would be much appreciated.

I need to search through 100's of Excel spreadsheets and identify what files have links (from cells, ie formula) and to where ?

So far if I open a spreadsheet I can use the following statement to find potential links.

link_array = ActiveWorkbook.LinkSources 'find all document links

But its difficult to automate this search because I need to open every individual spreadsheet.

Any clues would be helpfull.
 
something like (?):-

'-------------------------------------------
For Each ws In ActiveWorkbook.Worksheets
MsgBox (ws.Name)
Next
'-------------------------------------------

Links have always been a problem. Some notes :-
1. Can search for Links in worksheets. They all contain "[".
2. Watch out for links in named ranges.
3. Microsoft have a free download addin that replaces links (FINDLINK.XLA I think). Regards
BrianB
** Let us know if you get something that works !
================================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top