C
chris1 via AccessMonster.com
Can Bloomberg data be directly imported into Access? If no, I have code that
tries to retrieve data from Excel into Access but the Bloomberg API - BlpMain.
xla is not loaded when I use the following code:
Private Sub Command0_Click()
Dim objXL As Excel.Application
Dim objWS As Excel.Worksheet
Set objXL = New Excel.Application
objXL.Workbooks.Add
objXL.Visible = True
Set objWS = objXL.Activesheet
objXL.AddIns.Add(Filename:="C:\Program Files\Blp\BlpMain.xla").Installed =
True
objWS.cells(1,1).Formula = "=blph(""CUSIP mtge",""MTG_HIST_FACT"")"
End sub
This doesn't to work when Access opens Excel. However when I open Excel by
itself the Bloomberg API loads up.
Please help me with any suggestions or ideas.
tries to retrieve data from Excel into Access but the Bloomberg API - BlpMain.
xla is not loaded when I use the following code:
Private Sub Command0_Click()
Dim objXL As Excel.Application
Dim objWS As Excel.Worksheet
Set objXL = New Excel.Application
objXL.Workbooks.Add
objXL.Visible = True
Set objWS = objXL.Activesheet
objXL.AddIns.Add(Filename:="C:\Program Files\Blp\BlpMain.xla").Installed =
True
objWS.cells(1,1).Formula = "=blph(""CUSIP mtge",""MTG_HIST_FACT"")"
End sub
This doesn't to work when Access opens Excel. However when I open Excel by
itself the Bloomberg API loads up.
Please help me with any suggestions or ideas.