I have a somewhat complex worksheet. Some macros, some dynamic named ranges, some formulas, etc
I also have a VBA-initiated call to Solver for optimization purposes.
I have run into very long runtimes when initiating the Solver call because Excel is re-calculating the entire sheet every time it makes a new guess for Solver solution.
I really only need a very limited range on the worksheet to be recalculated, so I tried setting the worksheet to Manual Calculation and then doing a manual Range.Calculate at the end of each trial solution. However, Solver won't even initialize, I suppose since it assumes it will not see any dependency on a manually-calculated sheet.
So I have gone back to Auto Calculation. Is there way to selectively tell Excel not to re-calculate a certain Range even though the greater sheet is set to AutoCalc?
In a related question, does a Calculation event also trigger updates to dynamically-defined named ranges? I have several ranges that are defined in terms of COUNTA. Do you think it is re-calculating all these named ranges every time a cell changes?
Bookmarks