PC Review


Reply
Thread Tools Rate Thread

Bloomberg download

 
 
drinese18
Guest
Posts: n/a
 
      7th Feb 2008
Does anyone know the proper syntax to download from Bloomberg into Excel
using the Active X function. I have no experience programming with Bloomberg
so I am at a lost in this area. I just want to download the EONIA value from
Bloomberg into a column in Excel, so if anyone can help me with this it will
be appreciated.
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      7th Feb 2008
Range("A6").Select
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.bloomberg.com/apps/quote?ticker=EONIAIC:FP",
Destination:= _
Range("A6"))
.Name = "FP_1"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "10"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With

"drinese18" wrote:

> Does anyone know the proper syntax to download from Bloomberg into Excel
> using the Active X function. I have no experience programming with Bloomberg
> so I am at a lost in this area. I just want to download the EONIA value from
> Bloomberg into a column in Excel, so if anyone can help me with this it will
> be appreciated.

 
Reply With Quote
 
drinese18
Guest
Posts: n/a
 
      7th Feb 2008
Ok it does download something but not the Eonia values, but thats not biggie
I already corrected that. The thing is I didn't want it to download through
the Web query procedure because that downloads a snapshot of w/e thats in the
table, including the table names and so on, jus basically wanted it to
download one value which is why I was saying I want to do it
programmatically, if you can explain a way to do this that would be great or
anyone else, thanks

"Joel" wrote:

> Range("A6").Select
> With ActiveSheet.QueryTables.Add(Connection:= _
> "URL;http://www.bloomberg.com/apps/quote?ticker=EONIAIC:FP",
> Destination:= _
> Range("A6"))
> .Name = "FP_1"
> .FieldNames = True
> .RowNumbers = False
> .FillAdjacentFormulas = False
> .PreserveFormatting = True
> .RefreshOnFileOpen = False
> .BackgroundQuery = True
> .RefreshStyle = xlInsertDeleteCells
> .SavePassword = False
> .SaveData = True
> .AdjustColumnWidth = True
> .RefreshPeriod = 0
> .WebSelectionType = xlSpecifiedTables
> .WebFormatting = xlWebFormattingNone
> .WebTables = "10"
> .WebPreFormattedTextToColumns = True
> .WebConsecutiveDelimitersAsOne = True
> .WebSingleBlockTextImport = False
> .WebDisableDateRecognition = False
> .WebDisableRedirections = False
> .Refresh BackgroundQuery:=False
> End With
>
> "drinese18" wrote:
>
> > Does anyone know the proper syntax to download from Bloomberg into Excel
> > using the Active X function. I have no experience programming with Bloomberg
> > so I am at a lost in this area. I just want to download the EONIA value from
> > Bloomberg into a column in Excel, so if anyone can help me with this it will
> > be appreciated.

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      7th Feb 2008
You can use a refresh by settting the refreshperiod

Set objPC = Worksheets("Sheet1").PivotTables("PivotTable3").PivotCache
objPC.RefreshPeriod = 15

or just perform a refresh

Worksheets(1).PivotTables(1).PivotCache.Refresh



"drinese18" wrote:

> Ok it does download something but not the Eonia values, but thats not biggie
> I already corrected that. The thing is I didn't want it to download through
> the Web query procedure because that downloads a snapshot of w/e thats in the
> table, including the table names and so on, jus basically wanted it to
> download one value which is why I was saying I want to do it
> programmatically, if you can explain a way to do this that would be great or
> anyone else, thanks
>
> "Joel" wrote:
>
> > Range("A6").Select
> > With ActiveSheet.QueryTables.Add(Connection:= _
> > "URL;http://www.bloomberg.com/apps/quote?ticker=EONIAIC:FP",
> > Destination:= _
> > Range("A6"))
> > .Name = "FP_1"
> > .FieldNames = True
> > .RowNumbers = False
> > .FillAdjacentFormulas = False
> > .PreserveFormatting = True
> > .RefreshOnFileOpen = False
> > .BackgroundQuery = True
> > .RefreshStyle = xlInsertDeleteCells
> > .SavePassword = False
> > .SaveData = True
> > .AdjustColumnWidth = True
> > .RefreshPeriod = 0
> > .WebSelectionType = xlSpecifiedTables
> > .WebFormatting = xlWebFormattingNone
> > .WebTables = "10"
> > .WebPreFormattedTextToColumns = True
> > .WebConsecutiveDelimitersAsOne = True
> > .WebSingleBlockTextImport = False
> > .WebDisableDateRecognition = False
> > .WebDisableRedirections = False
> > .Refresh BackgroundQuery:=False
> > End With
> >
> > "drinese18" wrote:
> >
> > > Does anyone know the proper syntax to download from Bloomberg into Excel
> > > using the Active X function. I have no experience programming with Bloomberg
> > > so I am at a lost in this area. I just want to download the EONIA value from
> > > Bloomberg into a column in Excel, so if anyone can help me with this it will
> > > be appreciated.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bloomberg API function nomadicj5 Windows XP 0 16th May 2008 03:54 PM
Data Download from Bloomberg =?Utf-8?B?Um9oaXQ=?= Microsoft Access 2 23rd Jun 2005 03:18 AM
Bloomberg =?Utf-8?B?Um9oaXQ=?= Microsoft Access External Data 0 22nd Jun 2005 10:34 AM
Bloomberg API Ali Burns Microsoft C# .NET 0 12th Jan 2005 09:45 AM
bloomberg API Jena Microsoft Excel Programming 0 20th Jan 2004 07:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:02 PM.