vbanovice1992
New Member
- Joined
- Jun 18, 2020
- Messages
- 3
- Office Version
- 2019
- Platform
- Windows
Hi Guys I am using solver to identify from multiply amounts which add up to a specific number. I would like to make the "By change " to a dynamic range that will work no matter how many values are entered . I've been trying this for now 3 weeks and would appreciate someone helping me with the code here is the code I have".
SolverOk SetCell:="$F$6", MaxMinVal:=3, ValueOf:=0, ByChange:="$B$5:$B$16", _
Engine:=2, EngineDesc:="Simplex LP"
SolverOk SetCell:="$F$6", MaxMinVal:=3, ValueOf:=0, ByChange:="$B$5:$B$16", _
Engine:=2, EngineDesc:="Simplex LP"
SolverSolve
SolverOk SetCell:="$F$6", MaxMinVal:=3, ValueOf:=0, ByChange:="$B$5:$B$16", _
Engine:=2, EngineDesc:="Simplex LP"
SolverOk SetCell:="$F$6", MaxMinVal:=3, ValueOf:=0, ByChange:="$B$5:$B$16", _
Engine:=2, EngineDesc:="Simplex LP"
SolverSolve