I am working on a routine to plot well dimensioned and well positioned circles on a X-Y chart, in another question.
In the latest version, the question asker suddenly gets a "Expression too complex" error on the line
xScalar = DeltaX / mPA.InsideWidth
A very simple division of 2 Double variables, all three terms of this expression are double.
The error pops up in an iteration loop, limited by hardcoding to 100 iterations.
As I can't reproduce the error, and as the workarounds for this error seem to bring no help (simplifying the expression is not possible and I added a refresh as suggested in a MS article), I'm lost.
This is wat a Microsoft KB article suggested, but this did not help.
Thanks for your insights