Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
flattire00101
 
Posts: n/a
Default Use Cell Content to Build Link


Hi -

I am trying to link one cell to another cell in another document on the
network. The actually linking of the cells is easy
"=http://server/folder/[filename.xls]Sheet1'!$A$1" but the part I can't
get is ...

I want to use another cell's content as part of the url. For example,
if cell A1 contained the folder that the file was in then, then I would
want to use that value so that I could change the folder in all of the
links at one time. For example, if A1=temp, then the link would be
"=http://server/temp/[filename.xls]Sheet1'!$A$1". I've tried
"=CONCATENATE("=http://server/",A1,"/[filename.xls]Sheet1;!$A$1)" ...
it puts together the string correctly, but then the target cell
displays the link, not the contents of the remote cell.

I think if there's an actual function that retrieves the cells contents
(instead of just an equals sign) I would be set, but I can't figure that
out. Thanks for the help.


--
flattire00101
------------------------------------------------------------------------
flattire00101's Profile: http://www.excelforum.com/member.php...o&userid=24409
View this thread: http://www.excelforum.com/showthread...hreadid=380091

  #2   Report Post  
bj
 
Posts: n/a
Default

try the indirect function
=indirect("=http://server/"&A1&"/[filename.xls]Sheet1;!$A$1)")

"flattire00101" wrote:


Hi -

I am trying to link one cell to another cell in another document on the
network. The actually linking of the cells is easy
"=http://server/folder/[filename.xls]Sheet1'!$A$1" but the part I can't
get is ...

I want to use another cell's content as part of the url. For example,
if cell A1 contained the folder that the file was in then, then I would
want to use that value so that I could change the folder in all of the
links at one time. For example, if A1=temp, then the link would be
"=http://server/temp/[filename.xls]Sheet1'!$A$1". I've tried
"=CONCATENATE("=http://server/",A1,"/[filename.xls]Sheet1;!$A$1)" ...
it puts together the string correctly, but then the target cell
displays the link, not the contents of the remote cell.

I think if there's an actual function that retrieves the cells contents
(instead of just an equals sign) I would be set, but I can't figure that
out. Thanks for the help.


--
flattire00101
------------------------------------------------------------------------
flattire00101's Profile: http://www.excelforum.com/member.php...o&userid=24409
View this thread: http://www.excelforum.com/showthread...hreadid=380091


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
Link page header with cell contents Matthew Excel Worksheet Functions 8 May 1st 07 06:22 PM
copy combobox - cell link to change automatically Bojana Excel Worksheet Functions 1 June 8th 05 02:35 PM
Paste Link enters a 0 into the cell where I paste. How do I elemin UNR Excel Discussion (Misc queries) 4 March 28th 05 01:54 AM
EXCEL LINK CELL FORMULA MDL2005 Excel Worksheet Functions 3 March 18th 05 01:49 PM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


All times are GMT +1. The time now is 06:01 PM.

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"