Hi Guys....
I'm still trying to get a chart working, in terms of extracting the formula for a trend line.
I have now got two distinct problems - the formula isn't being extracted, and the dates along the horizontal axis aren't fully visible.
Also, if you access the spreadsheet (I've put it on Dropbox and attached a link), if you delete the data below row 20, the VBA complaines about the Chart's Title!
I must have looked at dozens of posts in an attempt to achieve a simple goal, but there seems to be a myriad of ways to create a chart using VBA.
Having accepted that in order to get an accurate formula I need to use an XY Scatter plot, I now find I can't get at the formula unless I step through the code. If I do that, it works perfectly.
I've tried putting various waits, loops and delays in the code to "simulate" stepping through, but nothing works.
Please, can anyone offer any help?
The Dropbox URL is
https://www.dropbox.com/s/tg9xqr2q8s1w37t/TestBed.xlsm?dl=0
I'm still trying to get a chart working, in terms of extracting the formula for a trend line.
I have now got two distinct problems - the formula isn't being extracted, and the dates along the horizontal axis aren't fully visible.
Also, if you access the spreadsheet (I've put it on Dropbox and attached a link), if you delete the data below row 20, the VBA complaines about the Chart's Title!
I must have looked at dozens of posts in an attempt to achieve a simple goal, but there seems to be a myriad of ways to create a chart using VBA.
Having accepted that in order to get an accurate formula I need to use an XY Scatter plot, I now find I can't get at the formula unless I step through the code. If I do that, it works perfectly.
I've tried putting various waits, loops and delays in the code to "simulate" stepping through, but nothing works.
Please, can anyone offer any help?
The Dropbox URL is
https://www.dropbox.com/s/tg9xqr2q8s1w37t/TestBed.xlsm?dl=0