Bloomberg - Refresh Workbook how to call

。_饼干妹妹 提交于 2020-05-30 11:30:13

问题


I would like to know if there was a way to do :

Bloomberg - > Refresh Workbook

But not with my hand and in VBA or using something else.. :

Workbook.calculate does not work some times formula gets #N/A Requesting Data... because Data aren't loaded on time..

I really need to found a 100% working way to do it, else if it fail sometimes it can be a huge problem


回答1:


You can use the following procedures in the bloomberg add-in

Application.Run "RefreshCurrentSelection"

Application.Run "RefreshEntireWorksheet"

Application.Run "RefreshEntireWorkbook"

Application.Run "RefreshAllWorkbooks" 

Application.Run "RefreshAllStaticData"    
Application.Run "RefreshData"

For the CurrentSelection you would have to select the desired data first

ThisWorkbook.Worksheets("Sheet1").Range("YourData").Select
Application.Run "RefreshCurrentSelection"


来源:https://stackoverflow.com/questions/61814900/bloomberg-refresh-workbook-how-to-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!