Here are two, I believe, unrelated issues:
1) when trying to dynamically create a spreadsheet that contains an addin formula from the Bloomberg financial system ("=blp()" from "blp.xla") I can't get the formula to register properly (i.e., it always comes up #NAME?). other functions like the analysis toolpack functions work fine. The only difference I can see is that Bloomber doesn't install their xla in the library directory, but rather at c:\blp\api\dde\blp.xla. I'm not sure how they get that to load in Excel at startup, but they do (they used to modify a startup template, but I don't think that's true anymore).
2) when I do two consecutive calls to SetAddInFormula, some weird replacing is going on. For example:
cell1.SetAddInFormula("=blp(a1,b1)","blp.xla");
cell2.SetAddInFormula("=CUMIPMT(0.04,360,10000,3,120,0)","analysis.xla");
...yields a spreadsheet with cells as follows:
cell1: "=CUMIPMT(a1,b1)" value: "#VALUE!"
cell2: "=CUMIPMT(0.04,360,10000,3,120,0)" value: "-471992.26"
Very weird stuff. Any ideas?
Eric