Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
confused
 
Posts: n/a
Default variable to refer to "this worksheet"?

Hi,

I have a hyperlink function which when clicked opens another worksheet in
the same spreadsheet. At the moment my function is:
=HYPERLINK("[SpreadsheetName.xls]NewWorksheetName!Cell", "click here to open
new worksheet")

can I subsitute the spreadsheet name for something which refers to
"this/current spreadsheet". This means if the spreasheet name changes I wont
have to change the function.
Ive tried the following but neither work:
=HYPERLINK("[ThisWorkbook]NewWorksheetName!Cell", "click ...")
=HYPERLINK("[ThisWorkbook()]NewWorksheetName!Cell", "click ...")

thanks for any help you can give
cheers
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

See one more response at your other post.

confused wrote:

Hi,

I have a hyperlink function which when clicked opens another worksheet in
the same spreadsheet. At the moment my function is:
=HYPERLINK("[SpreadsheetName.xls]NewWorksheetName!Cell", "click here to open
new worksheet")

can I subsitute the spreadsheet name for something which refers to
"this/current spreadsheet". This means if the spreasheet name changes I wont
have to change the function.
Ive tried the following but neither work:
=HYPERLINK("[ThisWorkbook]NewWorksheetName!Cell", "click ...")
=HYPERLINK("[ThisWorkbook()]NewWorksheetName!Cell", "click ...")

thanks for any help you can give
cheers


--

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
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
Search/Match between 2 x separate Worksheets and populate result in third worksheet Alan Bartley Excel Discussion (Misc queries) 1 April 11th 05 05:21 AM
Refer to Excel Worksheet by its name RichB Excel Worksheet Functions 2 February 5th 05 01:07 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
Formula to refer to other worksheet... Liz-In-USA Excel Worksheet Functions 4 November 9th 04 10:51 PM


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