Hi Holger,
Excel-DNA does not interact or interfere with Excel's calculation
sequence.
So just to let us check what you are actually referring to,
* Could you post a small self-contained sample in a .dna file that
shows what you are worried about?
* Could you also compare with a UDF function defined in VBA?
The only scenario I can think of is that your function is taking an
ExcelReference (via an [ExcelArgument(AllowReference=true)] attribute)
and then not reading the value from the ExcelReference.
-Govert
On Feb 27, 4:28 pm, CSharp Dummy <
csharpdu...@gmail.com> wrote:
> "If the precedent cells are not calculated, the function may still be
> called but will then be called later (again)."
>
> This would be ok, but unfortunately this is not what happens. I just
> find that the fucntions are calculated in some order and the the full
> recalculate stops.
>
> I'm able to get the right sequence when I recalculate several times,
> but I would assume that there is an easier solution.
>
> Holger
>
> On Feb 26, 11:11 pm, Ben Mcmillan <
ben.mcm...@gmail.com> wrote:
>
>
>
>
>
>
>
> > according to this link:
http://www.decisionmodels.com/calcsecretsj.htm
>
> > there's no guarantee that a cell's UDF will only be called once the
> > precedent cells are calculated.... If the precedent cells are not
> > calculated, the function may still be called but will then be called later
> > (again).
> > as it says on the link, in VBA you could use ISEMPTY to check whether a
> > range has been calculated. I assume you can do something similar from
> > exceldna.
>
> > Not sure whether that helps you or not.
> > Ben
>
> > >
http://groups.google.com/group/exceldna?hl=en.-Hide quoted text -