If CellRef and Relation do not match an existing constraint, you must use the SolverDelete and SolverAdd functions to change the constraint. If you choose 4, 5 or 6, CellRef must refer to decision variable cells, and FormulaText should not be specified.Ĭells referenced by CellRef must have final values that are integers.Ĭells referenced by CellRef must have final values of either 0 (zero) or 1.Ĭells referenced by CellRef must have final values that are all different and integers.įormulaText Optional Variant. The arithmetic relationship between the left and right sides of the constraint. A reference to a cell or a range of cells that forms the left side of a constraint. SolverChange( CellRef, Relation, FormulaText)ĬellRef Required Variant. If Solver.xlam does not appear under Available References, click Browse and open Solver.xlam in the \office14\library\Solver subfolder. In the Visual Basic Editor, with a module active, click References on the Tools menu, and then select the Solver.xlam check box under Available References. Equivalent to clicking Solver in the Data | Analysis group and then clicking Change in the Solver Parameters dialog box.īefore you use this function, you must establish a reference to the Solver add-in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |