June 26th, 2007, 8:33 pm
In excel, if I have a chain of dependancies through a series of cells, changing the first cell (the root) of the dependancy correctly triggers recalculation.I have a problem with this when using an XLL I have written in c++. My (simplfied*) xll contains a double, and two methods setNumber(double) and double getNumber(). I want to do the following:A1: some numberA2: setNumber(A1)A3: getNumber()This works fine at first, but does not recalculate properly. In fact, if you trace dependancies, A3 does not appear to depend on anything (which i understand, just do not like). So, when I change A1 I have to manually go and recalculate A3. ctrl-alt-f9 does not help, and anyway - I want to understand this. If there is a massive montecarlo lurking somewhere, I can't just recalc trivially.Q: Can I for force Excel to recognise non-obvious dependancies?Q: If not, what can I do?Thanks for reading, hens*Actually, my dll contains a quantlib objecthandler