View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Programming Function

One more each time

"""" & FULLBBCODE & """"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Matt" wrote in message
...
I'm attempting to program a new function that includes other functions
provided by Bloomberg professional service. The end result needs to look
like this:

BDP("AUD Curncy","LAST_PRICE")

The AUD Curncy is Bloomberg's security code, which I will be getting from
two separate cells. I am able to put the two cells together as follows:

BBCODE = AUD
BBKEY = Curncy
FULLBBCODE = BBCODE & BBKEY

My problem is that I need to get quotation marks around the FULLBBCODE in
the VBA code. When I've tried """ & FULLBBCODE &""" it just returns that
exact text, not what FULLBBCODE represents. Hope I've explained this
enough,
any help would be greatly appreciated.