Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SolverOK setCell and byChange args are not passed to the solver
Using the Solver functions from a VB macro the SolverOK or solverOKDialog
never accepts the arguments SetCell and ByChange. No error report just that no value is entered for the corresponing values. I've tried several different formats, including those suggested in the help function. I can run the solver in normal interactive mode but not from code, passing the same values. The maxminVal and ValueOf parameters enter ok. I use A1 notation in the sheet and pass the references in the same format. What could be wrong. It seems like a bug. I use Excel 2000 (9.06926 SP-3) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SolverOK setCell and byChange args are not passed to the solver
If you'd posted your code, someone could have seen whether the order of
commands was a problem. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Tom.The.Oak" wrote in message ... Using the Solver functions from a VB macro the SolverOK or solverOKDialog never accepts the arguments SetCell and ByChange. No error report just that no value is entered for the corresponing values. I've tried several different formats, including those suggested in the help function. I can run the solver in normal interactive mode but not from code, passing the same values. The maxminVal and ValueOf parameters enter ok. I use A1 notation in the sheet and pass the references in the same format. What could be wrong. It seems like a bug. I use Excel 2000 (9.06926 SP-3) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SolverOK / SolvOK function does not compile - SOLVER library is referenced | Excel Programming | |||
optional args in UDF | Excel Programming | |||
Solver VB interface 'SolverOK' fails | Excel Programming | |||
VBA SolverOK not inputting all values into Solver... | Excel Programming | |||
solver setcell= to an argument name rather than a cell in the worksheet | Excel Programming |