Using listobject name reference in chart series issues after update

s_szczesny

New Member
Joined
Dec 31, 2019
Messages
2
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello! I've encountered very weird behavior of Excel after latest update (semi-annual channel). Everything was working perfectly for over a year now.

I've created addin (VBA), that creates charts automatically from pulled SQL data. I used following format for series data definition:

SERIES NAME: =TABLE_NAME[[#Headers],[ColumnName]]
XValues: =TABLE_NAME[FirstColumnName]
YValues: =TABLE_NAME[ColumnName]

Data is stored in listobject (table with headers.)

A lot of other procedures are based on a fact, that i can pull TABLE_NAME, FirstColumnName, ColumnName directly from chart series object in VBA. But after the update Excel was automatically translating named references into cell addresses.

After hour of debugging I've found out, that if I plot 10 out of 11 columns, everything work just fine and the named references are untouched. But if I plot 11 columns out of 11, Excel is automatically translating all named references into cell ranges and i did not find any way to stop it.

2019-12-31 07_41_15-Window.png


2019-12-31 07_43_06-Window.png


Did anyone occur same issues?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have not seen that, but as a workaround could your modify your addin to add another column to the data then plot all but the last one?
 
Upvote 0
That is exactly what i did almost month ago. Still, adding virtual data to big data sets increase their size (sometimes substantially). Still waiting for proper solution - maybe MS engineer will fix it as i reported it as a bug.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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