Hello,
I am trying a new way to create DDE commands without using much VBA macros...
Let's say you want to request datas for ES , you type =myname|tik!id1?req?ES_FUT_200906_GLOBEX in a cell.
If the instrument( ES )is in cell A1 and expiry( 200906 ) is in B1, why doesn't it work if I use the following formula in the cell :
= "=myname|tik!id1?req?" & A1 & "_FUT_" & B1 & "_GLOBEX". The code is created fine but it seems no DDE link are created. I should have a "0" in the cell instead of =myname|tik!id1?req?ES_FUT_200906_GLOBEX. If I use VBA to create the same code, it works. ???
How can I work around that? I know it's more of an excel problem than TWS API but I was thinking some here had the same problem.
Thanks a lot for your help
I am trying a new way to create DDE commands without using much VBA macros...
Let's say you want to request datas for ES , you type =myname|tik!id1?req?ES_FUT_200906_GLOBEX in a cell.
If the instrument( ES )is in cell A1 and expiry( 200906 ) is in B1, why doesn't it work if I use the following formula in the cell :
= "=myname|tik!id1?req?" & A1 & "_FUT_" & B1 & "_GLOBEX". The code is created fine but it seems no DDE link are created. I should have a "0" in the cell instead of =myname|tik!id1?req?ES_FUT_200906_GLOBEX. If I use VBA to create the same code, it works. ???
How can I work around that? I know it's more of an excel problem than TWS API but I was thinking some here had the same problem.
Thanks a lot for your help