Updating graphs in Excel using a macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

aI have about 50 graphs that I need to updte in a spreadhseet. Does anyone
have a macro I can use to update them.
 
You really need to give more information. Perhaps you could even use just
one graph with variables?
 
What needs to be updated? Formats? Data Source?

Record a macro while you change one chart, then try to include the working
bits of the recorded macro into a loop:

Dim chob As ChartObject
For Each chob In ActiveSheet.ChartObjects
With chob.Chart
' working bits in here, referenced to chob.Chart rather than to
ActiveChart
End With
Next

- Jon
 

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

Back
Top