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
I had the exact same issue. I solved it in the following way: Just type FormulaText:=1 without the quotes for 1.