How do I create a Macro to automatically update a graph daily?

M

Mike

I have a series of 5 charts in Excel that each track 5 data points as lines.
The graphs represent a rolling 30 day look at these 25 data points. Each
day, as I add yesterday's data to the graph, I have to edit the source data
to change the range to be the last 30 days.

Example:

Each Day, I change the source data from

=Sheet2!$B$27:$B$56 to
=Sheet2!$B$28:$B$57

And then the next day it would change to be 29:58.

Imagine that for 25 data sources plus axis labels.

I am trying to create a macro to do that automatically but I can't create
one that will do it. It simply redoes the same change (i.e. the one above)
over and over again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top