Bloomberg not refreshing

patrick4

New Member
Joined
Apr 10, 2013
Messages
2
I am copying formulas into a worksheet to get Bloomberg data, but the data is not refreshing. You have to click on each cell to see the data from Bloomberg. Any ideas will be helpful.

'Imports Formulas from Sheet3
Set r = Sheet1.Range("A8")
k = Sheet1.Range("A50000").End(xlUp).Row
mc = Sheet1.UsedRange.Columns.Count


Set srange = Sheet3.Range("A6")
On Error GoTo errHandler
While srange.Column <= mc
If Left(srange.Formula, 1) = "=" Then
srange.Copy
r.Resize(k - 5, 1).PasteSpecial xlPasteFormulas
r.Resize(k - 5, 1).PasteSpecial xlPasteFormats
End If

Set r = r.Offset(0, 1)
Set srange = srange.Offset(0, 1)
Wend
Sheet1.Calculate
Application.Calculation = xlCalculationAutomatic
BloombergUI.RefreshAllStaticData
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try adding this to the end of your code:

Code:
ActiveWorkbook.RefreshAll
 
Upvote 0

Forum statistics

Threads
1,207,097
Messages
6,076,556
Members
446,213
Latest member
bettigb

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top