+ Reply to Thread
Results 1 to 6 of 6

refresh excel charts in power point

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    109

    refresh excel charts in power point

    Being new, I'm not sure if it was ok to discuss power point, even in the "off topic" section.

    If it's ok, then I had a question, and maybe someone can help me with it. My boss has a power point presentation that links with Graphs from a few excel workbooks, spread over 15 or 20 slides. In power point 2007 there is a "refresh" button for the graphs. If you hit it, it pulls the more current version of the graphs from the workbooks.

    My boss would like a macro that goes through and updates each graph. Unfortunately, I'm still very early in learning anything VBA related, so I'm having trouble writing the macro. And of course, there is no macro recorder in 2007.

    I thought "hey, there is still one computer that has 2003 on it" and went to try to record the macro on there. Unfortunately, I can't seem to find the "refresh" button for the graphs anywhere in 2003.

    So, my question(s) at last. Does anyone know where the "refresh" button for the graphs might be in 2003? Failing that, does anyone know what the VBA code might look like for that in 2007?

    Lastly, if it's not alright to discuss power point, is there a good site to find what I'm looking for?

    Thanks!
    Last edited by just_some_guy; 03-08-2010 at 12:18 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: refresh excel charts in power point

    Derek,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: refresh excel charts in power point

    Assuming the chart is an copy/linked chart from a separate xl file then the following with the chart selected should work.

    application.CommandBars.ExecuteMso "ChartRefresh"
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: refresh excel charts in power point

    Andy Pope,

    Thanks so much for the help. That works perfectly.

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: refresh excel charts in power point

    where do you type that command?

  6. #6
    Registered User
    Join Date
    08-01-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: refresh excel charts in power point

    Where do you type that command?


    Quote Originally Posted by Andy Pope View Post
    Assuming the chart is an copy/linked chart from a separate xl file then the following with the chart selected should work.

    application.CommandBars.ExecuteMso "ChartRefresh"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1