Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sandyl
 
Posts: n/a
Default Hyperlink Problems

I am trying to create a summary worksheet based on other worksheet
contents (that will be created in the future). I am looking to
automate this and am having difficulty auto referencing hyperlinks.
For example, I have a cell A1 with the folder path and cells a2...
have sequential numbers. I then create hyperlinks in b2... using these
references to make up the file name. What I then need to do is insert
information from the other worksheets into in cells c2..f2 etc. I want
to use cell references a1 and a2.. to create the hyperlink so that it
is easily updated if the filename or path change but cannot seem to do
this. I have tried various methods but am only currently stuck with
entering the entire filename and path. I am new to this so want to
avoid VB if possible.

Sandy L

  #2   Report Post  
sandyl
 
Posts: n/a
Default


sandyl wrote:
I am trying to create a summary worksheet based on other worksheet
contents (that will be created in the future). I am looking to
automate this and am having difficulty auto referencing hyperlinks.
For example, I have a cell A1 with the folder path and cells a2...
have sequential numbers. I then create hyperlinks in b2... using

these
references to make up the file name. What I then need to do is

insert
information from the other worksheets into in cells c2..f2 etc. I

want
to use cell references a1 and a2.. to create the hyperlink so that it
is easily updated if the filename or path change but cannot seem to

do
this. I have tried various methods but am only currently stuck with
entering the entire filename and path. I am new to this so want to
avoid VB if possible.

Sandy L


I'm sure there is someone out there who can help. This is quite urgent
and would appreciate any positive comments.

Sandy L

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

I'm not quite sure why you want to use hyperlinks. These will open the other
file--not retrieve values from it.

If the other files were open, you could build a formula that uses =indirect()
that points at the correct open workbook, worksheet and cell to return that
value.

But if the workbooks are closed =indirect() won't work.

But Harlan Grove wrote a userdefined function called =Pull() that will do what
you want.

http://www.google.com/groups?selm=sH...wsranger. com

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

sandyl wrote:

sandyl wrote:
I am trying to create a summary worksheet based on other worksheet
contents (that will be created in the future). I am looking to
automate this and am having difficulty auto referencing hyperlinks.
For example, I have a cell A1 with the folder path and cells a2...
have sequential numbers. I then create hyperlinks in b2... using

these
references to make up the file name. What I then need to do is

insert
information from the other worksheets into in cells c2..f2 etc. I

want
to use cell references a1 and a2.. to create the hyperlink so that it
is easily updated if the filename or path change but cannot seem to

do
this. I have tried various methods but am only currently stuck with
entering the entire filename and path. I am new to this so want to
avoid VB if possible.

Sandy L


I'm sure there is someone out there who can help. This is quite urgent
and would appreciate any positive comments.

Sandy L


--

Dave Peterson
  #4   Report Post  
Sandyl
 
Posts: n/a
Default


Dave Peterson wrote:
I'm not quite sure why you want to use hyperlinks. These will open

the other
file--not retrieve values from it.

If the other files were open, you could build a formula that uses

=indirect()
that points at the correct open workbook, worksheet and cell to

return that
value.

But if the workbooks are closed =indirect() won't work.

But Harlan Grove wrote a userdefined function called =Pull() that

will do what
you want.


http://www.google.com/groups?selm=sH...wsranger. com

If you're new to macros, you may want to read David McRitchie's intro

at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

sandyl wrote:

sandyl wrote:
I am trying to create a summary worksheet based on other

worksheet
contents (that will be created in the future). I am looking to
automate this and am having difficulty auto referencing

hyperlinks.
For example, I have a cell A1 with the folder path and cells

a2...
have sequential numbers. I then create hyperlinks in b2... using

these
references to make up the file name. What I then need to do is

insert
information from the other worksheets into in cells c2..f2 etc.

I
want
to use cell references a1 and a2.. to create the hyperlink so

that it
is easily updated if the filename or path change but cannot seem

to
do
this. I have tried various methods but am only currently stuck

with
entering the entire filename and path. I am new to this so want

to
avoid VB if possible.

Sandy L


I'm sure there is someone out there who can help. This is quite

urgent
and would appreciate any positive comments.

Sandy L


--

Dave Peterson


  #5   Report Post  
Sandyl
 
Posts: n/a
Default

Dave,

First, thanks for responding. Second, apologies but did not explain
correctly. Am looking to do the following:

=([$A$1&A6&".xls"]Sheet1!c$3$)

such that A1 contains the path and A6.....Z6 contain the name. I can
then easily copy the various formulas to following cells as I create
additional workbooks. Also accommodates any changes to the location.

You hinted about Harlan Grove's solution which will avoid opening all
workbooks so will look at that but if you could provide further advice
then it would be most gratefuly accepted.

Regards,

Sandy Lumsden



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

Try Harlan's function and post back if you have trouble.

Harlan did put instructions in his post.

Sandyl wrote:

Dave,

First, thanks for responding. Second, apologies but did not explain
correctly. Am looking to do the following:

=([$A$1&A6&".xls"]Sheet1!c$3$)

such that A1 contains the path and A6.....Z6 contain the name. I can
then easily copy the various formulas to following cells as I create
additional workbooks. Also accommodates any changes to the location.

You hinted about Harlan Grove's solution which will avoid opening all
workbooks so will look at that but if you could provide further advice
then it would be most gratefuly accepted.

Regards,

Sandy Lumsden


--

Dave Peterson
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
Moving rows with Hyperlink doesn't move hyperlink address Samad Excel Discussion (Misc queries) 15 June 22nd 06 12:03 PM
Intra-workbook hyperlink: macro/function to return to hyperlink ce marika1981 Excel Discussion (Misc queries) 3 May 6th 05 05:47 AM
Hyperlink Length Jason Excel Worksheet Functions 0 January 14th 05 05:49 PM
Removing hyperlink Frank Marousek Excel Discussion (Misc queries) 3 January 12th 05 09:53 PM
How can I extract hyperlink value pat_rick Excel Discussion (Misc queries) 1 January 8th 05 01:17 AM


All times are GMT +1. The time now is 03:16 PM.

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"