S
Skin Paul
Hi all, Using xl 2004 v.11.3.5 - Mac OS 10.4.10
I am trying to run solver from a macro but not having much luck.
If I select solver from the menu and input the right info and click solve
It works fine. When I run solver via a macro I get a compile error - Sub or
Function not defined.Below is where I"m at. Any pointers to my mistake
please.
Sub Solve()
SolverOk SetCell:="$G$18", MaxMinVal:=3, ValueOf:="510", ByChange:="$C$18"
SolverSolve
End Sub
SolverOk Gets highlighted but I don't know what next to do.
Thanks Paul
I am trying to run solver from a macro but not having much luck.
If I select solver from the menu and input the right info and click solve
It works fine. When I run solver via a macro I get a compile error - Sub or
Function not defined.Below is where I"m at. Any pointers to my mistake
please.
Sub Solve()
SolverOk SetCell:="$G$18", MaxMinVal:=3, ValueOf:="510", ByChange:="$C$18"
SolverSolve
End Sub
SolverOk Gets highlighted but I don't know what next to do.
Thanks Paul