LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MDW
 
Posts: n/a
Default Return A Range of All Cells With Links

I'm trying to create a macro that will examine the active workbook and
generate a new sheet listing any cells that contain links to external
workbooks. I know that I can see what the links ARE, as in the name and path
of linked workbooks. What I'd like to do in addition to this is see what
cells use those links.

For instance, I already have code that can tell me that a given workbook has
a link to the file C:\external.xls

But suppose that in the active workbook, Sheet1 Cell D15 has the function
"=HLOOKUP($E$15,'C:\[external.xls]Sheet3'!$D$4:$L$25,A23,FALSE)"

I'd like to include that cell reference (and ideally, that function) in the
report. Short of examining every cell in the workbook for a function that
contains "C:\external.xls", I don't know of any other methods. I'd appreciate
any suggestions. Thanks.
--
Hmm...they have the Internet on COMPUTERS now!
 
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
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
Sorting a range of cells that get value from other cells Matt Caswell Excel Discussion (Misc queries) 3 July 13th 05 04:52 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM


All times are GMT +1. The time now is 11:31 AM.

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

About Us

"It's about Microsoft Excel"