September 10th, 2007, 1:29 pm
Hi, This is my first day in this forum. I'have a problem:I want to write in VBA (Acces) the following operation that I use within an Excell Cell=Blp("BEST_BRK_PERIOD_OVERRIDE","BEST EPS", ":0FY")In VBA I usually use objSnap.GetData "IBM US Equity", Array("LAST_PRICE","BEST EPS"), , , 10000, vtResultI Do not know where to put ":0Fy" in order to get the same results (in VBA) as I get using the BLP functionin Excell.I have tried also settingobjBloomberg.Periodicity = bbFiscalAnnually or bbCalendarAnnuallyStartDate = "01.01.05"EndDate = "01.01.07" objSnap.GetData "IBM US Equity", Array("BEST_BRK_PERIOD_OVERRIDE","BEST EPS"), , , 10000, vtResultand I do not get the value I need. I do not know If I was clear enough. Have any of you already used the method GetData (Security As Variant, Fields As Variant, [OverrideFields As Variant], [Overrides As Variant], timeoutInMilliseconds As Long, Results AsVariant) ?I would appreciate any help. I'm building an archive from Bloomberg and I can not go furtherBest regardsedgar