LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default how does one follow a cell link to another workbook file

Hello Excellers,

I have a worksheet cell that contains a formula that refers to a cell
in another workbook file.

I have a VBA macro that needs to follow that reference. That is, open
the referenced file, and go to the sheet of the referenced cell (so as
to get other things from the same sheet).

In the past I've simply extracted the file name from the cell formula
using string functions. But that only works with straightforward cell
links which simply refers to a cell in the other file. That is, the
cell formula only contains one file name in it somewhere.

Now I'd like to handle a situation where the cell formula is more
complicated. In this case the formula uses the Choose worksheet
function to pick a link to another file. This means the formula
contains more than a just one file name. So my method of using string
functions to extract the file name doesn't cut it anymore.

Is there any way to determine the file name of the cell being
referenced by the more complicated cell formula?

Thanks,

Brian Murphy
Austin, TX

 
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
HOW DO I LINK PAGES ON EXCEL TO FOLLOW SAME LINKED FORMULA? al Excel Worksheet Functions 0 February 8th 07 08:32 PM
follow link Kumail New Users to Excel 2 August 3rd 05 03:46 AM
How do I link data from another workbook using a different file na Victor Excel Discussion (Misc queries) 1 May 29th 05 08:57 PM
How can I follow a Hyper-link by just pressing "Enter"? Bob Excel Discussion (Misc queries) 1 April 5th 05 02:53 PM
Follow hyper-link by pressing "Enter" Bob Small Excel Discussion (Misc queries) 1 April 4th 05 12:46 AM


All times are GMT +1. The time now is 01:03 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"