Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to determine links to external files or spreadsheets

Hello all, I was wondering if anyone was aware of any technique that would
be able to determine if a particular spreadsheet contained any references to
external files or had any formulas or macros/projects that referenced
another file?

We want to customize a document management system to be able to "link" a
file to all the other files it may reference.

Example: I want to check in a file called 123.xls.
I must first open the file and "somehow" interrogate it to determine if
there are any references (embedded images, charts, formulas, macros, etc) to
another file so I can record in the database that a reference or file
dependency exists.

Likewise, when I check out a file, I need to be able to bring out these
dependent files so the spreadsheet doesn't error out due to the links.

Anyone seen anything like this or have any great ideas?

Thanks!!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How to determine links to external files or spreadsheets

Hi Jim,

Try Bill Manville's FindLink Addin which may be downloaded, free of charge,
at:

http://www.oaltd.co.uk/MVP/Default.htm


---
Regards,
Norman


"Jim" <. wrote in message ...
Hello all, I was wondering if anyone was aware of any technique that
would be able to determine if a particular spreadsheet contained any
references to external files or had any formulas or macros/projects that
referenced another file?

We want to customize a document management system to be able to "link" a
file to all the other files it may reference.

Example: I want to check in a file called 123.xls.
I must first open the file and "somehow" interrogate it to determine if
there are any references (embedded images, charts, formulas, macros, etc)
to another file so I can record in the database that a reference or file
dependency exists.

Likewise, when I check out a file, I need to be able to bring out these
dependent files so the spreadsheet doesn't error out due to the links.

Anyone seen anything like this or have any great ideas?

Thanks!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default How to determine links to external files or spreadsheets

I think this only works in more recent versions of Excel, with EditLinks in
the menus.

Dim strLinks() As String

strLinks = ActiveWorkbook.LinkSources(xlExcelLinks)

For a = 0 To UBound(strLinks, 1)
Debug.Print strLinks(a)
Next a

Then do it again for xlOLELinks.

Jeff

"Jim" <. wrote in message ...
Hello all, I was wondering if anyone was aware of any technique that
would be able to determine if a particular spreadsheet contained any
references to external files or had any formulas or macros/projects that
referenced another file?

We want to customize a document management system to be able to "link" a
file to all the other files it may reference.

Example: I want to check in a file called 123.xls.
I must first open the file and "somehow" interrogate it to determine if
there are any references (embedded images, charts, formulas, macros, etc)
to another file so I can record in the database that a reference or file
dependency exists.

Likewise, when I check out a file, I need to be able to bring out these
dependent files so the spreadsheet doesn't error out due to the links.

Anyone seen anything like this or have any great ideas?

Thanks!!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to determine links to external files or spreadsheets

Thanks Norman and Jeff!!
Both answers worked great!

Thanks for the help.



"Jim" <. wrote in message ...
Hello all, I was wondering if anyone was aware of any technique that
would be able to determine if a particular spreadsheet contained any
references to external files or had any formulas or macros/projects that
referenced another file?

We want to customize a document management system to be able to "link" a
file to all the other files it may reference.

Example: I want to check in a file called 123.xls.
I must first open the file and "somehow" interrogate it to determine if
there are any references (embedded images, charts, formulas, macros, etc)
to another file so I can record in the database that a reference or file
dependency exists.

Likewise, when I check out a file, I need to be able to bring out these
dependent files so the spreadsheet doesn't error out due to the links.

Anyone seen anything like this or have any great ideas?

Thanks!!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Links to external files Shades Excel Discussion (Misc queries) 3 May 31st 09 01:53 AM
fixing links to external files if status shows OK ccac user Excel Discussion (Misc queries) 4 June 13th 08 06:49 PM
Can you compare similar spreadsheets to determine a difference? DLopez79 Excel Discussion (Misc queries) 1 January 9th 06 10:36 PM
Excel 2003: Temporarily "turning off" links to external files... Birmangirl Excel Discussion (Misc queries) 1 August 19th 05 02:51 PM
Making Address function & references as links to external files ?? dalejrstwin Excel Programming 0 April 26th 05 02:34 AM


All times are GMT +1. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"