Complete the code to set the objective cell in Solver.
SolverOk SetCell:=Range("[1]"), MaxMinVal:=1
The objective cell is usually the cell where the result to optimize is calculated. Here, "A1" is the correct cell reference.
Complete the code to add a constraint in Solver.
SolverAdd CellRef:=Range("B2"), Relation:=2, FormulaText:=Range("[1]")
The constraint compares cell B2 to cell C2. So the formula text should be "C2".
Fix the error in the Solver code to solve the model.
SolverSolve UserFinish:= [1]Setting UserFinish to True displays the Solver Results dialog after solving. False suppresses the results dialog.
Fill both blanks to set Solver to minimize the objective and use the GRG Nonlinear solving method.
SolverOk SetCell:=Range("A1"), MaxMinVal:=[1], Engine:=[2]
MaxMinVal=2 means minimize the objective. Engine=2 selects the GRG Nonlinear solving method.
Fill all three blanks to add a constraint that cell B3 must be less than or equal to 100.
SolverAdd CellRef:=Range("[1]"), Relation:=[2], FormulaText:=[3]
CellRef is "B3". Relation 2 means less than or equal to. FormulaText is 100, the limit.