Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hello all, I am looking for help with the Excel Solver:
I have a VBA function that returns several outputs. I wish to use one of these outputs as the Solver target to minimize or maximize, and I wish to use the other outputs as part of the constraints on the Solver. For example, my function takes Size as an input, and returns Temperature and Mass from the same function call. I wish to optimize for maximum temperature by changing the size, but have a limit on the mass. However, the Solver target cell must contain a function, and functions are not allowed to modify worksheet cells, which is what I must do if I want the solver to see all the other outputs. I can think of two approaches to this: 1) Hook into the worksheet_calculate event somehow, or 2) Hook into the worksheet_change event somehow, but I can't get either ways to work, any suggestions? Thanks Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can VLookup function find and list multiple records? | Excel Worksheet Functions | |||
VLOOKUP Function using multiple worksheets | Excel Discussion (Misc queries) | |||
Protecting a sheet that includes a solver function | Excel Worksheet Functions | |||
Multiple Worksheets and Print Merge function | Excel Discussion (Misc queries) | |||
Protecting a sheet that includes a solver function | Excel Worksheet Functions |