hyperlink "reference not valid" when sheet name change

SSPoulin23

New Member
Joined
Nov 21, 2014
Messages
44
Hi All,

I have a workbook that will have a sheet that is a template for contractor information. When a new contractor is entered, I have a blank template sheet (that is called TempMain for now). I have a VBA directive to rename the sheet automatically based on an entry in cell Q14. However, when the sheet is renamed, it makes all of the hyperlinks within the sheet invalid (message saying "Reference not valid" when I click on a link after the name change). If I change the sheet name back, the links work again.

How can I make the hyperlinks dynamic with regard to the name changes and not just dynamic with regard to manipulating data within the sheet itself (like adding/deleting rows, 'cos I've found that answer already).

THANK YOU!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
... I've seen some similar threads with no replies - REALLY hoping someone has a solution to this issue :(
 
Upvote 0
well, just so everyone knows, if you Define the name of the cell you want to go to and then say "go to this place in the document" instead of saying "go to this cell", it works. no matter if you rename the sheet or if you make a copy and want the cells to reference the same place in the copy and not the original sheet.

HURRAY!!!
 
Upvote 0

Forum statistics

Threads
1,217,283
Messages
6,135,622
Members
449,953
Latest member
Maniac189

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