Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Solver Macro
How do I program the Solver in VBE? When I run the macro
recorder and then run the solver, the code that comes out seems fine, but it won't run as a macro, giving me the error that the first token "SolverOK" is undefined. There must be a better way to envoke the Solver, which in my case, does have hardcoded cell refs. Thanks for your help so much!! Michael |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Solver Macro
did you set a reference to the solver addin in tools=references in the VBE?
http://support.microsoft.com/support...ver/solver.asp Creating Visual Basic Macros that Use Microsoft Excel Solver http://www.frontsys.com/xlhelp.htm Help for Microsoft Excel Solver Users -- Regards, Tom Ogilvy "Michael" wrote in message ... How do I program the Solver in VBE? When I run the macro recorder and then run the solver, the code that comes out seems fine, but it won't run as a macro, giving me the error that the first token "SolverOK" is undefined. There must be a better way to envoke the Solver, which in my case, does have hardcoded cell refs. Thanks for your help so much!! Michael |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Solver Macro
Thank you so much!!!
Have a great weekend and God bless. Michael -----Original Message----- did you set a reference to the solver addin in tools=references in the VBE? http://support.microsoft.com/support...ontent/solver/ solver.asp Creating Visual Basic Macros that Use Microsoft Excel Solver http://www.frontsys.com/xlhelp.htm Help for Microsoft Excel Solver Users -- Regards, Tom Ogilvy "Michael" wrote in message ... How do I program the Solver in VBE? When I run the macro recorder and then run the solver, the code that comes out seems fine, but it won't run as a macro, giving me the error that the first token "SolverOK" is undefined. There must be a better way to envoke the Solver, which in my case, does have hardcoded cell refs. Thanks for your help so much!! Michael . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
XL solver macro | Excel Worksheet Functions | |||
Macro for Solver | Excel Programming | |||
Using Solver within Macro | Excel Programming | |||
help with solver or macro | Excel Programming | |||
Solver Macro | Excel Programming |