Hi Mike
I would say this could be done without any VBA.
Try this, to see what I mean.
Put 13 entries in A1:A13
Go to Insert>Name>Define and type in: MovingRange
Then in the Refers to box type:
=Offset($A$1,Counta($A:$A)-13,0,13,1)
Click Add, then Ok.
Now refer your chart (or any chart) to the range, then add another entry.
I have a few other examples of these type of things on my Website under "Chart Tips and Trick" that may interest you.
Dave
OzGrid Business Applications
Thanks for that Dave - it seems to work ok.
Is there any way I can update it easily? I seem to have to go back into the source data of the chart and re-enter the range ('MovingRange') before it updates the chart? Ideally I would like to put in an update button so that when the user has entered the latest data they can generate and update the graph either automatically or with the press of a button.
Cheers
-Mike
Don't worry - figured it out (well daahhh all I had to do was replace the series with the range name).
Thanks
-Mike