Hi,
I'm trying to run Solver from vb with the following code:
SolverReset
SolverOptions precision:=0.001
SolverOKDialog setCell:=Worksheets("Feed Rate"
.Range("EthyleneYield"
, _
maxminval:=3, _
valueOf:=CTarget, _
bychange:=Worksheets("Input"
.Range("StartDailyList"
.Offset(3, 2)
SolverSolve userFinish:=False
However, I get the following error
"Solver: An unexpected internal error occurred, or available memory was exhausted"
Yet, I have no problems solving the same problem by running Solver from Tools -> Menu. I've already made sure that solver was added and checked in Tools|references. Can anyone help? Thanks in advance
I'm trying to run Solver from vb with the following code:
SolverReset
SolverOptions precision:=0.001
SolverOKDialog setCell:=Worksheets("Feed Rate"
maxminval:=3, _
valueOf:=CTarget, _
bychange:=Worksheets("Input"
SolverSolve userFinish:=False
However, I get the following error
"Solver: An unexpected internal error occurred, or available memory was exhausted"
Yet, I have no problems solving the same problem by running Solver from Tools -> Menu. I've already made sure that solver was added and checked in Tools|references. Can anyone help? Thanks in advance