I stumbled upon a simple but yet a strange problem. I have made a small working sample that reproduces the problem.
So in the spreadsheet, I have two tables, Range1 and Range2. I also have a module with a function called
.
Range1 contains a column named 'added quantity' in which the cells are calculated using the 'dummy' function. The 'dummy' function just looks for the 'multiplier' that corresponds to the 'multiplierID' in 'Range2', and multiplies it to the 'quantity' and returns the product.
The problem now is this: I was expecting that if I change the value of a multiplier in Range2, the corresponding dependent cells in Range1 should change but they don't, even if I hit calculate. The cells only change if I re-commit the formula, meaning if I choose the cell and re-enter the same formula. Even worse, even if I apply the formula to all cells, the cells don't update, I either have to re-enter the formula for each individual cells or do the old-fashioned dragging.
I have attached the workbook in this thread.
Please note: I know that I could have written the function straight into the cells which would have made it work but here I'm just trying to represent my problem in a simple way, as in my original workbook the function contents are 'slightly' more complex.
Many thanks for your help,
Bookmarks