Hi there
Please have a look at the attached excel sheet and code. The table is pretty simple. There is cell B4 for input, cell C4 is calculated as C3 - B4 and D4 simply copies C4. This is a simple version of a more complex scenario we have. Now I start putting values into B4 according to the following sequence and get the values as stated. After each put I perform a CalculateFormula() on the workbook.
Iteration | B4 | C4 | D4 |
----------------------------
Initial | 5 | 3 | 3 |
1 | 6 | 2 | 2 |
2 | 7 | 1 | 1 |
3 | 8 | 0 | 1 |
4 | 9 | -1 | 1 |
As you can see, C4 keeps being calculated correctly, however the indirectly dependent cell D4 stops being calculated after iteration 2.
Cheers
Lukas