andydtaylor
Active Member
- Joined
- Feb 15, 2007
- Messages
- 360
- Office Version
- 2016
Hi,
I have a dashboard I have compiled which uses a table output from PowerQuery. There's a VBA script doing a few formatting things too.
I would like the chart series to scale to reflect size of table returned. I'm a bit confused because this seems to work for a while and then the range becomes hardcoded and doesn't scale. I think the dynamic connection gets lost on a chart which can occasionally have no data to plot.
So I have 2 questions:
1. Is there specific table-chart linking functionality which I can check/perhaps reset at runtime in vba?
2. Or going back to the way I would have approached this in the past - is there a way to have Excel intelligently update the source range without losing chart formatting?
Thanks,
Andy
I have a dashboard I have compiled which uses a table output from PowerQuery. There's a VBA script doing a few formatting things too.
I would like the chart series to scale to reflect size of table returned. I'm a bit confused because this seems to work for a while and then the range becomes hardcoded and doesn't scale. I think the dynamic connection gets lost on a chart which can occasionally have no data to plot.
So I have 2 questions:
1. Is there specific table-chart linking functionality which I can check/perhaps reset at runtime in vba?
2. Or going back to the way I would have approached this in the past - is there a way to have Excel intelligently update the source range without losing chart formatting?
Thanks,
Andy