=BDP(F3& " cusip", "security des")
Hi all,
I am trying to write a macro that will insert the above exact formula (with the only difference being the F3 reference cell) into my current active cell. Below is the actual vba code.
I just need the "F3"
cell below to reference a variable cell that is determined by Excel/vba every time that I run the macro.
I already have the code to have vba/Excel determine the cell. Lets just say this variable cell is set as CName
. So CName
houses the cell I would like to use--be it F3, D2 or whatever.
ActiveCell.Formula = "=BDP(F3&"" cusip"", ""security des"")"
Can someone help? Thank you!