Dynamic named ranges in Charts

xenou

MrExcel MVP
Joined
Mar 2, 2007
Messages
16,836
Office Version
  1. 2019
Platform
  1. Windows
It's interesting that I can add a dynamic named range as a source for a chart series:
=Sheet1!Sales

But, not this way:
=Sales

It is as if charts cannot recognize global names in the same way that worksheets do. Does anyone know why this is so?

ξ
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I've had the same experience with both charts and userforms.
I always point back to the worksheet first, then the range. If I don't the code doesn't recognise the range name; usually it fails silently.

I assume that it's because charts and userforms don't natively recognise worksheets; they're not the same kind of object, so you have to specifically identify the sheet.

Denis
 
Upvote 0

Forum statistics

Threads
1,225,511
Messages
6,185,389
Members
453,289
Latest member
ALPOINT_AIG

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