Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tastic96
 
Posts: n/a
Default assemble link from different cells and return value


Hey there, this is my first time on a forum....

I need to link from a worksheet to another file. Instead of creating
this link normally (just by opening the other file and selecting the
desired cell), I am trying to assemble the link from a number of
different cells in different worksheets...

for example.

Cell A1 in worksheet1 = long file path

something like - file://nuefil08\nuefeb4\Work\Data
Entry\31.03.05\EM22.xls

Cell A1 in worksheet2 = worksheet name and cell reference

something like - Monthy Totals Line 1!C$159

The link should be the sum of the 2 cells, however whatever I have
tried, excel only returns the text string, not the actual value of the
cell from the link...

I've been trying everything for 2 days and it's starting to do my head
in... Any help would be appreciated! Cheers...


--
tastic96
------------------------------------------------------------------------
tastic96's Profile: http://www.excelforum.com/member.php...o&userid=24662
View this thread: http://www.excelforum.com/showthread...hreadid=382405

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I think you want to use the =indirect() worksheet function.

But the bad news is that this won't work when the workbook is closed.

Harlan Grove wrote a UDF called that will retrieve the value from a closed
workbook.

You can find the function at Harlan's FTP site:
ftp://members.aol.com/hrlngrv/

Look for pull.zip

tastic96 wrote:

Hey there, this is my first time on a forum....

I need to link from a worksheet to another file. Instead of creating
this link normally (just by opening the other file and selecting the
desired cell), I am trying to assemble the link from a number of
different cells in different worksheets...

for example.

Cell A1 in worksheet1 = long file path

something like - file://nuefil08\nuefeb4\Work\Data
Entry\31.03.05\EM22.xls

Cell A1 in worksheet2 = worksheet name and cell reference

something like - Monthy Totals Line 1!C$159

The link should be the sum of the 2 cells, however whatever I have
tried, excel only returns the text string, not the actual value of the
cell from the link...

I've been trying everything for 2 days and it's starting to do my head
in... Any help would be appreciated! Cheers...

--
tastic96
------------------------------------------------------------------------
tastic96's Profile: http://www.excelforum.com/member.php...o&userid=24662
View this thread: http://www.excelforum.com/showthread...hreadid=382405


--

Dave Peterson
  #3   Report Post  
bj
 
Posts: n/a
Default

slight confusion, when you say "returns the text string", is this a text
string of the equation, or a concatination of the items in the cells.
if it is the equation, does it let you leave the cell?
if so, the cell is probably formated as text and you need to make sure it
is formated as general. if it is formated for text , check that there is no
space or hyphen in front of the "="
if not, it is saying there is an error in the equation. post a copy, and
see if somone can help you with the format.

I doubt it is the concatination, but if so, please post the equation.



"tastic96" wrote:


Hey there, this is my first time on a forum....

I need to link from a worksheet to another file. Instead of creating
this link normally (just by opening the other file and selecting the
desired cell), I am trying to assemble the link from a number of
different cells in different worksheets...

for example.

Cell A1 in worksheet1 = long file path

something like - file://nuefil08\nuefeb4\Work\Data
Entry\31.03.05\EM22.xls

Cell A1 in worksheet2 = worksheet name and cell reference

something like - Monthy Totals Line 1!C$159

The link should be the sum of the 2 cells, however whatever I have
tried, excel only returns the text string, not the actual value of the
cell from the link...

I've been trying everything for 2 days and it's starting to do my head
in... Any help would be appreciated! Cheers...


--
tastic96
------------------------------------------------------------------------
tastic96's Profile: http://www.excelforum.com/member.php...o&userid=24662
View this thread: http://www.excelforum.com/showthread...hreadid=382405


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
How do I specify cells to return a result in a quadratic? Aerozona Excel Worksheet Functions 3 June 6th 05 07:16 AM
Return number of cells filled LMB New Users to Excel 3 April 29th 05 02:55 AM
Function to look at two cells and return a third jlmam Excel Worksheet Functions 2 January 26th 05 04:41 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Return non-zero cells in column Greg Excel Worksheet Functions 5 December 11th 04 12:55 PM


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