Named Range Error (Need help troubleshooting and fixing)

onthegreen03

Board Regular
Joined
Jun 30, 2016
Messages
168
Office Version
  1. 365
Platform
  1. Windows
Hi. I have a tab that I am trying to copy to a new file. The tab I am trying to copy has one named range, the new file does not. When I copy the tab into the new file I get #NAME? errors in all of the cells with formulas. What do I need to do to get this tab to copy over to the new file without any cell errors? (The formulas work fine in the tab before I move it.) Let me know if you need more information to help troubleshoot the issue, and thanks for the help.
 
OK, looks like you have a lot more going on there.
Are you sure that there aren't any cells/formulas/ranges on this sheet trying to references cells from other sheets?

What might be a better option is to simply re-save the file with a new name, and then delete the sheets you don't need.
If you still get errors, that is a big clue that your sheet is referencing things on other sheets.
Okay, I resaved the file and there are no other tabs (hidden or unhidden), so it's just the one working tab. Inputs and formulas all work perfectly, there is only one named range under Name Manager. When I try to copy the tab into the a new workbook the cells with the formulas all error out (#NAME?). Very strange. I'd be happy to send the file to you, it is not proprietary. Would love to figure this out ... maybe with the file you can troubleshoot and fix. Let me know. Thanks for the help.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
What does the refers to in the named range show?
 
Upvote 0
What does the refers to in the named range show?
See below.

1730402539431.png
 
Upvote 0
Thanks for that, I susoect that both Uptake & ModelStartDate are both UDFs
 
Upvote 0
Thanks for that, I susoect that both Uptake & ModelStartDate are both UDFs
If they are UDFs, is that what is preventing me from copying the sheet into a new workbook without the errors? Is there anyway to fix this or do I simply abandon this mission?
 
Upvote 0
You will need to copy the UDFs to the new workbook.
 
Upvote 0
You will need to copy the UDFs to the new workbook.
Okay, dumb question. I went into the existing sheet and looked under "Queries and Connections" thinking the UDFs would be there but none were listed. Am I looking in the wrong place?
 
Upvote 0
They will be in a VBA module, to find them them hit Alt F11 to open the VB editor & then loo in the various modules & you should find them.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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