Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Hyperlink based on cell value in a different worksheet

Hi there,

I'm attempting to create a hyperlink in Sheet2 that will open a folder whose
name is stored in a cell in Sheet1. Here's what I've got so far:

=HYPERLINK("I:\2007GSR\"&B7,"Link to Folder")

B7 contains the folder name but this assumes the cell is on the same sheet
as the hyperlink. How do I get the formula to realize it's not?

Thanks.

Bart


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Hyperlink based on cell value in a different worksheet

Bart you are very close:

=HYPERLINK("E:\" & Sheet1!B7,"link to folder")

adapt to your logical drive & folder name.
--
Gary''s Student - gsnu200751


"Bart" wrote:

Hi there,

I'm attempting to create a hyperlink in Sheet2 that will open a folder whose
name is stored in a cell in Sheet1. Here's what I've got so far:

=HYPERLINK("I:\2007GSR\"&B7,"Link to Folder")

B7 contains the folder name but this assumes the cell is on the same sheet
as the hyperlink. How do I get the formula to realize it's not?

Thanks.

Bart


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Hyperlink based on cell value in a different worksheet

Thanks, that did the trick, figured it had to be something like that.

Maybe I should be putting this under a new post, but just to make things a
little more complicated, is it possible to do the samething, but instead of
referencing a cell on a different sheet, refence the name of the sheet the
hyperlink is on? For example, the folder to link to and the worksheet would
both be named "GSR 1". New folders/worksheets will be created as new
projects come in.

Any ideas?

"Gary''s Student" wrote:

Bart you are very close:

=HYPERLINK("E:\" & Sheet1!B7,"link to folder")

adapt to your logical drive & folder name.
--
Gary''s Student - gsnu200751


"Bart" wrote:

Hi there,

I'm attempting to create a hyperlink in Sheet2 that will open a folder whose
name is stored in a cell in Sheet1. Here's what I've got so far:

=HYPERLINK("I:\2007GSR\"&B7,"Link to Folder")

B7 contains the folder name but this assumes the cell is on the same sheet
as the hyperlink. How do I get the formula to realize it's not?

Thanks.

Bart


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Hyperlink based on cell value in a different worksheet

I've managed to come up with a work around but I'm not sure if there's a
better way.

Put the following formula (which I got off the discussion group, no idea why
it works, just know it does...) in Cell A3 and hide column A just to keep
things clean:

=RIGHT(CELL("FILENAME",F10),LEN(CELL("FILENAME",F1 0))-FIND("]",CELL("FILENAME",F10)))

I then change the Hyperlink formula to:

=HYPERLINK("I:\2007GSR\"&A3,"Link to Folder")

It's not pretty, but it works.

"Bart" wrote:

Thanks, that did the trick, figured it had to be something like that.

Maybe I should be putting this under a new post, but just to make things a
little more complicated, is it possible to do the samething, but instead of
referencing a cell on a different sheet, refence the name of the sheet the
hyperlink is on? For example, the folder to link to and the worksheet would
both be named "GSR 1". New folders/worksheets will be created as new
projects come in.

Any ideas?

"Gary''s Student" wrote:

Bart you are very close:

=HYPERLINK("E:\" & Sheet1!B7,"link to folder")

adapt to your logical drive & folder name.
--
Gary''s Student - gsnu200751


"Bart" wrote:

Hi there,

I'm attempting to create a hyperlink in Sheet2 that will open a folder whose
name is stored in a cell in Sheet1. Here's what I've got so far:

=HYPERLINK("I:\2007GSR\"&B7,"Link to Folder")

B7 contains the folder name but this assumes the cell is on the same sheet
as the hyperlink. How do I get the formula to realize it's not?

Thanks.

Bart


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
hyperlink to a cell in another worksheet birdster Excel Discussion (Misc queries) 3 March 22nd 07 11:48 AM
How do I hyperlink to a specific cell in other excel worksheet? Yasna Excel Worksheet Functions 4 February 16th 07 06:05 PM
How can I make a Hyperlink to a cell within another worksheet rela Musette Excel Discussion (Misc queries) 5 January 28th 07 12:31 PM
hyperlink or bookmark based on cell value simonsmith Excel Discussion (Misc queries) 0 May 17th 06 07:09 PM
hyperlink - link one cell to another in a worksheet. how? Drewz Excel Worksheet Functions 1 October 20th 05 04:09 PM


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