+ Reply to Thread
Results 1 to 3 of 3

Need macro to open, refresh, save, close 50 workbooks in a folder.

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Need macro to open, refresh, save, close 50 workbooks in a folder.

    Hello all, I'm new to VBA and writing macros, but have set up a project where I've 50 workbooks, all with live data feeds from Bloomberg, in a folder. For the feeds to be updated, the workbooks must be opened, refreshed, saved, and then closed. I need a macro that would automate this task for all 50 workbooks, but my current macro saves and closes the books before they get a chance to update. I tried working with a time delay, but this seems to pause ALL Excel calculations/operations.

    Any help would be greatly appreciated.

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

    Re: Need macro to open, refresh, save, close 50 workbooks in a folder.

    How do you refresh the Bloomberg data? Through a pivot?
    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
    Registered User
    Join Date
    10-09-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need macro to open, refresh, save, close 50 workbooks in a folder.

    No pivot tables involved. Bloomberg has an Excel add-in, where you can type 'bloomberg formulae' into cells and it pulls in data off its servers

+ 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