Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
How shoud i activate the solver (if possible) from a macro? Peter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try:- Sub ordinate() SolverOk SetCell:="$C$1", MaxMinVal:=3, ValueOf:="8", ByChange:="$A$1" SolverSolve End Sub Mike "P Sellmeijer" wrote: Hi How shoud i activate the solver (if possible) from a macro? Peter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mike,
Thanks for your reply. Unfortunaly while running your macro i get an error at 'SolverOk" or "SolverSolve" with the comment "Sub or Function not5 defined". I suppose that something should be declaired, but i do'nt know. Peter Try:- Sub ordinate() SolverOk SetCell:="$C$1", MaxMinVal:=3, ValueOf:="8", ByChange:="$A$1" SolverSolve End Sub Mike "P Sellmeijer" wrote: Hi How shoud i activate the solver (if possible) from a macro? Peter |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look up any Solver related topic (for example SolverSolve) in XL VBA
help. The 2nd paragraph will tell you what you have to do to make it work. In article , says... Hi Mike, Thanks for your reply. Unfortunaly while running your macro i get an error at 'SolverOk" or "SolverSolve" with the comment "Sub or Function not5 defined". I suppose that something should be declaired, but i do'nt know. Peter Try:- Sub ordinate() SolverOk SetCell:="$C$1", MaxMinVal:=3, ValueOf:="8", ByChange:="$A$1" SolverSolve End Sub Mike "P Sellmeijer" wrote: Hi How shoud i activate the solver (if possible) from a macro? Peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
activate macro | Excel Discussion (Misc queries) | |||
Button to activate macro | Excel Programming | |||
Matching numbers witin a series | Excel Worksheet Functions | |||
Activate Form using a macro | Excel Programming | |||
How do I create a macro that will activate the solver? | Excel Programming |