Solver Problem Maximum Number of Values to Change

holditall

New Member
Joined
Dec 30, 2008
Messages
17
Dear all,

another issue with solver. I have a certain Macro generating the ByChangeValues string to tell solver which values he might modify. For simple problem this works fine. But in cas more than approx. 30 Values are fed in, Solver does not accept the input and the field remains empty and he so does nothing at all.

The official limits are 200 or so which I do not use. If I manually fill in 100 values everything runs without any problems.

The string itself does not cause the problem. (saying it looks just as it should in the debugger mode)

Any ideas?

Thanks Axel



SolverOk SetCell:="$J$25", MaxMinVal:=2, ValueOf:="0", ByChange:=ByChangeValues
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,214,983
Messages
6,122,591
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top