From: sedelblut on
SolverOk MaxMinVal:=1, ValueOf:="0", ByChange:="$H$4,$F$15,$F$27"
SolverAdd CellRef:="$H$8", Relation:=2, FormulaText:="$I$8"
SolverAdd CellRef:="$L$15", Relation:=2, FormulaText:="$I$4"
SolverAdd CellRef:="$L$17", Relation:=2, FormulaText:="$I$4"
SolverSolve UserFinish:=True
SolverFinish KeepFinal:=1

tried solverreset, etc. does not work, What is wrong?

Thank You
Stephen

From: sedelblut on
oh, i;m using excel 2003 in windows xp

From: Graham Whitehead on
I seem to remember having the same problem a while ago. try adding the
following two lines at the beginning of your code:

Application.Run "Solver.xla!Auto_Open"
SolverReset

<sedelblut(a)gmail.com> wrote in message
news:1163390080.743066.81290(a)h54g2000cwb.googlegroups.com...
> SolverOk MaxMinVal:=1, ValueOf:="0", ByChange:="$H$4,$F$15,$F$27"
> SolverAdd CellRef:="$H$8", Relation:=2, FormulaText:="$I$8"
> SolverAdd CellRef:="$L$15", Relation:=2, FormulaText:="$I$4"
> SolverAdd CellRef:="$L$17", Relation:=2, FormulaText:="$I$4"
> SolverSolve UserFinish:=True
> SolverFinish KeepFinal:=1
>
> tried solverreset, etc. does not work, What is wrong?
>
> Thank You
> Stephen
>