+ Reply to Thread
Results 1 to 2 of 2

[VBA Chanllenge] in PowerPoint. Open/Close excel file in linked graph

  1. #1
    Registered User
    Join Date
    01-06-2016
    Location
    NY
    MS-Off Ver
    Excel 2013 professional plus
    Posts
    1

    [VBA Chanllenge] in PowerPoint. Open/Close excel file in linked graph

    Can someone help me writing this code: I want to open all the linked graph's excel and close it automatically without clicking any button. The reason for doing so is that I have an Embedded excel object in the powerpoint. All the Charts' excel reference the value from the embedded object. If I refresh the embedded object, I would have to open every chart's data in order to catch the changes (yes, it is annoying). Therefore, my idea is that if I would like to refresh, I could just simply open the embedded object and run the macro that automatically open and close the charts'excel. During the time that charts' excel is open, those values gets automatically updated. Thank you very much.

  2. #2
    Registered User
    Join Date
    04-29-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    10

    Re: [VBA Chanllenge] in PowerPoint. Open/Close excel file in linked graph

    I don't think you need a macro for this. You can use the "update links" feature.

    I'm using 2007 and it is located in:
    File->info->Related Documents->Edit links
    (related documents is in the bottom right - only appears if the file is saved)

    Select all the files and choose "update now" - I assume you could program a vba macro to carry out this process manually if neccessary, it would be a lot quicker than opening all the files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 12-21-2015, 04:20 PM
  2. Replies: 6
    Last Post: 08-18-2015, 06:39 AM
  3. Replies: 0
    Last Post: 09-13-2013, 09:24 PM
  4. Check if a Word File is Open and If Open Close it with Excel VBA.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2012, 11:14 AM
  5. Replies: 3
    Last Post: 07-31-2012, 05:19 PM
  6. Replies: 2
    Last Post: 06-25-2009, 02:26 AM
  7. How to open Excel file from PowerPoint?
    By Bob H in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2005, 09:05 PM

Tags for this Thread

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