named ranges being renamed

dhx10000

Board Regular
Joined
Jul 11, 2005
Messages
144
This is a really frustrating problem happening. I have a bunch of named ranges in my workbook that refer to ranges on separate workbook. For example, here is a formula I use:

Within Workbook1
=COUNTDIFF(WeekDates)

WeekDates is a named range that refers to the range $AB$:$AB within Workbook2

I defined this named range, within workbook 1 to be: =OFFSET([Workbook2.xls]Metrics!$AB$2,0,0,COUNTA([Workbook2.xls]Metrics!$AB:$AB)). This works fine when I test it. But when I close the two files and open them back up again, the below code replaces my named range definitions

='http://myServer/sites/wtbu/umts/barcelona/Action%20Items/metrics/[BarcelonaInternalActions.xls]Metrics'!$AB$2 0 0 'http://myServer/sites/wtbu/umts/barcelona/Action%20Items/metrics/[BarcelonaInternalActions.xls]Metrics'!

When workbook 1 is opened, I have a macro that opens workbook 2 so that the first workbook can use its data.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,203,400
Messages
6,055,179
Members
444,768
Latest member
EMGVT

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