Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

bloomberg overcome problem

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Bloomberg - Overcome problem when data have not finished loading

Bloomberg - Overcome problem when data have not finished loading

ResolvedVersion 2010

Christoph has attended:
Excel VBA Intro Intermediate course

Bloomberg - Overcome problem when data have not finished loading

When using data from bloomberg (i.e. loading data with a =bdh function in a cell) and data have not finished loading VBA need to be stopped to load the data. Is there a way to refresh the bloomberg request to finish loading the data inside the VBA code? (Without stopping the code running)

RE: Bloomberg - Overcome problem when data have not finished loa

Hi Christoph, thanks for your query. You are not alone in trying to address this problem! We can't offer advice about third-party APIs such as the Bloomberg add-in but this link should give you some pointers:

http://stackoverflow.com/questions/8669845/bloomberg-data-doesnt-populate-until-excel-vba-macro-finishes

My first thought was to use DoEvents to return control to the user while the query refreshes, but as you can see this causes problems. The solution will almost certainly involve using one of the Bloomberg API calls outlined in the link.

Hope this helps,

Anthony

Mon 23 Jul 2012: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Create a hyperlink navigation sheet

In large files, it is often useful to have a front sheet with hyperlinks to the key databases and summary calculations in your spreadsheet. Hyperlinks can save you and (more importantly) those less familiar with your spreadsheet a great deal of pointless scrolling between and within sheets.



Hyperlinks appear as underlined text and can jump to any cell or range name in your file. You can also use hyperlinks to jump to other files.



To create a hyperlink to a location in the active workbook: (1) Select the cell that contains the text you want to use as the hyperlink and choose Insert|Hyperlink.(2)Click Place in this document.(3)Choose the sheet you want to link to or the range name from the list of "Defined Names".(4)If necessary, type the cell reference in the Type in the cell reference box. (5) Click OK.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.