Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Variables in URL formula help


Can anyone help me solve a simple but annoying problem?

I have a formula that links to a URL

='http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

which gives back the value 3 (as it should)

Now I want to draw 18 Apr 2007 from a cell value found in an open file
called reference.xls.

So I tried

="'http://www.domain.com/" &'[reference.xls]sheet1'!$A$53
&"/[results.xls]results'!$D$2"

but it just shows the words

'http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

instead of the value

Can anyone tell me the right syntax please?

many thanks

tp




  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Variables in URL formula help

Try this:
=HYPERLINK("'http://www.domain.com/" &'[reference.xls]sheet1'!$A$53
&"/[results.xls]results'!$D$2","Link Text")

-Cory

"teepee" wrote:


Can anyone help me solve a simple but annoying problem?

I have a formula that links to a URL

='http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

which gives back the value 3 (as it should)

Now I want to draw 18 Apr 2007 from a cell value found in an open file
called reference.xls.

So I tried

="'http://www.domain.com/" &'[reference.xls]sheet1'!$A$53
&"/[results.xls]results'!$D$2"

but it just shows the words

'http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

instead of the value

Can anyone tell me the right syntax please?

many thanks

tp





  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Variables in URL formula help


"Cory" wrote in message
...
Try this:
=HYPERLINK("'http://www.domain.com/" &'[reference.xls]sheet1'!$A$53
&"/[results.xls]results'!$D$2","Link Text")

-Cory

Thanks for trying
Unfortunately that displays a hyperlink rather than the actual value


  #4   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 8,651
Default Variables in URL formula help

Look at help for the INDIRECT() function.
--
David Biddulph

"teepee" wrote in message
...

Can anyone help me solve a simple but annoying problem?

I have a formula that links to a URL

='http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

which gives back the value 3 (as it should)

Now I want to draw 18 Apr 2007 from a cell value found in an open file
called reference.xls.

So I tried

="'http://www.domain.com/" &'[reference.xls]sheet1'!$A$53
&"/[results.xls]results'!$D$2"

but it just shows the words

'http://www.domain.com/18 Apr 2007/[results.xls]results'!$D$2

instead of the value

Can anyone tell me the right syntax please?

many thanks

tp






  #5   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Variables in URL formula help


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Look at help for the INDIRECT() function.


That worked - many thanks David




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
if formula with variables Ronda Excel Worksheet Functions 4 February 18th 09 09:33 PM
Variables in URL formula help teepee[_2_] Excel Discussion (Misc queries) 4 May 9th 07 04:20 PM
Using variables in a cell/formula Wayne Knazek Excel Worksheet Functions 1 July 6th 06 05:30 PM
IF formula for 13 plus variables N Dependable Excel Worksheet Functions 3 April 27th 06 10:21 PM
How to use array formula for three variables? MelissaS Excel Discussion (Misc queries) 2 January 20th 05 01:16 PM


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