Excel Solver Ignoring Constraint in VBA

前端 未结 3 964
我寻月下人不归
我寻月下人不归 2021-01-21 01:29

I am trying to find a maximum return for a simple portfolio using Solver. Using Solver in the worksheet directly works sensibly, however it does not when the commands are set in

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-21 02:33

    I had the exact same issue. I solved it in the following way: Just type FormulaText:=1 without the quotes for 1.

提交回复
热议问题