dynamic hyperlink

leecavturbo

Well-known Member
Joined
Jan 4, 2008
Messages
681
well when i say dynamic. I have a hyperlink ( link ? ) in sheet 2 to a cell in sheet 1. but what i need is when i copy that sheet to make another ( with tab, copy move to end ) is for the link to reference sheet 1 but 1 row lower than the last.
possible without vba ?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Excel Formula:
=HYPERLINK("[Book1.xlsx]Sheet1!$A$"&5+SHEET(),"My Link")


This formula will add 1 to row referance after 5th row each time a new sheet is copied.
 
Upvote 0
Solution
Excel Formula:
=HYPERLINK("[Book1.xlsx]Sheet1!$A$"&5+SHEET(),"My Link")


This formula will add 1 to row referance after 5th row each time a new sheet is copied.
Cannot open the specified file. ? yes i changed the book1 to the file name
 
Upvote 0
Maybe you must include the filepath:
Excel Formula:
=HYPERLINK("C:\User\Desktop\[Book1.xlsx]Sheet1!$A$"&5+SHEET(),"My Link")

I haven't tested it like this. You must fiddle around.
 
Upvote 0
Maybe you must include the filepath:
Excel Formula:
=HYPERLINK("C:\User\Desktop\[Book1.xlsx]Sheet1!$A$"&5+SHEET(),"My Link")

I haven't tested it like this. You must fiddle around.
seemingly the simplist of hyperlink doesnt work, even if i insert function hyper link and actually click on the location . the kyperlink is created but doesnt work ! ? eg =HYPERLINK(Sat!I3,"back") Sat being the worksheet in the open book
 
Upvote 0
@Flashbond Ah that works but i notice my books are .xlsm. ( that the difference ? ) i even renamed my book to book5 for simplification and recreated you simple hyperlink ( which is great and perfect in your book ) but i get a 'Cannot open specified file.'
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,085
Members
449,206
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top