Reference to Solver in Excel 2007
Reference to Solver in Excel 2007
(OP)
Hi, everybody! I have an excel 2003 vba project referencing to SOLVER automation library that does not work in excel 2007. I am looking for the new library name and cannot find, any tips? Thank you!
RE: Reference to Solver in Excel 2007
RE: Reference to Solver in Excel 2007
I just recorded the following simple session:
CODE
'
' Macro2 Macro
'
'
SolverOk SetCell:="$B$4", MaxMinVal:=3, ValueOf:="0", ByChange:="$B$3"
SolverSolve
Range("B6").Select
End Sub
Also search the VBA help for solver.
The following link may also be helpful for running solver VBA in different versions of Excel:
http://peltiertech.com/Excel/SolverVBA.html
Doug Jenkins
Interactive Design Services
www.interactiveds.com.au
RE: Reference to Solver in Excel 2007
thank you for your help!
Yakov