+ Reply to Thread
Results 1 to 7 of 7

Bloomberg Populate Table MACRO

  1. #1
    Registered User
    Join Date
    06-14-2010
    Location
    NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Bloomberg Populate Table MACRO

    I got a macro that is trying to populate a table with information from an outside source (Bloomberg), but the macro runs so fast it doesn't have time to populate.

    I'm trying to find a way for the macro to pause so that the data can finish loading before it saves and exits.

    I've tried application.wait and it paused, but it pauses the whole procedure of the data loading also.

    Can anybody help or have any suggestions? Thanks .
    Last edited by jcb0806; 06-14-2010 at 04:46 PM.

  2. #2
    Registered User
    Join Date
    06-14-2010
    Location
    NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Bloomberg Populate Table MACRO

    ......... bump

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Bloomberg Populate Table MACRO

    It would help if you had placed you code here.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-16-2010
    Location
    Centrl Florida
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Bloomberg Populate Table MACRO

    you can also use this.
    Please Login or Register  to view this content.
    this will delay for 1 second and automatically resume

  5. #5
    Registered User
    Join Date
    06-14-2010
    Location
    NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Bloomberg Populate Table MACRO

    Quote Originally Posted by Weezy View Post
    you can also use this.
    Please Login or Register  to view this content.
    this will delay for 1 second and automatically resume

    Thanks Weezy,

    But I've tried that "Application.Wait" and it pauses everything in excel, even the data from loading from bloomberg. Thats what I currently have in my vba code

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-14-2010
    Location
    NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Thumbs up Re: Bloomberg Populate Table MACRO

    I found something that worked for me thought.

    I used the "ontime method"..I just split the macro into two.

    While the first macro waited for whatever time (20 seconds) I put in the "ontime method" the fields were able to load in and then the second macro ran and saved the spreadsheet for me.

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Bloomberg Populate Table MACRO

    Avoid using Select & Activate in VBA
    improvement:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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