Hi all,
I'm having famous problem with solver when calling from function.
Solver: An unexpected internal error occurred, or available memory was exhausted
The idea running solver from function is that I will pass the setcell, valueof, bychange as parameters of the function. That way I can fill the formula in the cell and drag it and it will solve the rest automatically.
I have Office Excel 2k3(11.6560.6568)SP2
I do have a reference set.
When I run solver from Sub (macro) I do not have any issue.
But when I try to use it in function I'm getting that error.
I tried to put there SOLVER.Auto_open - it did not help.
Here is the function:
It gives error on any slover function.
Any hint please?
Bookmarks