Two charts from one Excel spreadsheet need to update in Powerpoint

G

Guest

I have two charts in an Excel spreadsheet and I have pasted links into a
Powerpoint presentation. I want them to update when I open the presentation,
and they are. Except it is running the macro (attached to the Excel
spreadsheet) twice. It is running the macro once for each graph when really
running the macro once should update both graphs.

Any ideas on how to make it update both charts off of one macro run?

Thanks for any help!
 
S

Steve Rindsberg

I have two charts in an Excel spreadsheet and I have pasted links into a
Powerpoint presentation. I want them to update when I open the presentation,
and they are. Except it is running the macro (attached to the Excel
spreadsheet) twice. It is running the macro once for each graph when really
running the macro once should update both graphs.

PPT updates each link as it finds it. In other words, for each link, it
activates Excel, updates, closes Excel.

Since it deals with one link at a time, no look-ahead or look-back, it doesn't
know that it might be opening the same file multiple times.

That's the problem in a nutshell.
Any ideas on how to make it update both charts off of one macro run?

Can't think of one offhand ... sorry.
But at least now you know why.
 
G

Guest

Thanks Steve. That's not the answer I was hoping for but thanks for letting
me know.
 

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