Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Hyperlinks - relative references

I have in previous versions of Excel (Excel '97) created hyperlinks
that were relative to the current/active worksheet.

For example if you create a worksheet called 'Intro' with a hyperlink
at cell H3 pointing to cell A300 and then copy the worksheet to a new
workbook and rename the sheet; then hyperlink in the new sheet cell H3
points to A300 in the new sheet.

I seem unable to employ the same tactic under Excel 2003. Any thoughts/
advice.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Hyperlinks - relative references

I haven't used hyperlinks much but I see that in Excel 97 you could create a
hyperlink like "C10" while in Excel 2003 the active sheet's name
automatically added (e.g., Sheet1!A10) whether you want it or not.

And since hyperlinks are just text entries they do not automatically get
updated, like formulas do, when the sheet name is changed, so they are
broken by doing so.

I find though that you can create a 'hyperlink without sheet name' in Excel
2003 with a macro like this:

ActiveCell.Hyperlinks(1).SubAddress="c10"

If no one has a better suggestion this may be your only workaround.


--
Jim
wrote in message
ps.com...
|I have in previous versions of Excel (Excel '97) created hyperlinks
| that were relative to the current/active worksheet.
|
| For example if you create a worksheet called 'Intro' with a hyperlink
| at cell H3 pointing to cell A300 and then copy the worksheet to a new
| workbook and rename the sheet; then hyperlink in the new sheet cell H3
| points to A300 in the new sheet.
|
| I seem unable to employ the same tactic under Excel 2003. Any thoughts/
| advice.
|


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Hyperlinks - relative references

Jim

Yep, that's the one. I've used the same macro in a user form to give
me easier accessibility.

Stephen Allen

On 4 Oct, 15:44, "Jim Rech" wrote:
I haven't used hyperlinks much but I see that in Excel 97 you could create a
hyperlink like "C10" while in Excel 2003 the active sheet's name
automatically added (e.g., Sheet1!A10) whether you want it or not.

And since hyperlinks are just text entries they do not automatically get
updated, like formulas do, when the sheet name is changed, so they are
broken by doing so.

I find though that you can create a 'hyperlink without sheet name' in Excel
2003 with a macro like this:

ActiveCell.Hyperlinks(1).SubAddress="c10"

If no one has a better suggestion this may be your only workaround.


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
Relative references smaruzzi Excel Discussion (Misc queries) 4 October 9th 06 03:33 PM
Relative references GARY Excel Discussion (Misc queries) 1 June 17th 06 06:31 AM
Relative references gcotterl Excel Worksheet Functions 4 June 17th 06 05:23 AM
Relative references GARY Excel Discussion (Misc queries) 7 June 16th 06 10:08 PM
Relative references GARY Excel Discussion (Misc queries) 1 June 16th 06 09:23 PM


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