This subroutine opens the Define Decision Variable dialog to create a new decision variable or change an existing decision variable in the selected cell.
The selected cell must be blank or a simple value cell. You cannot define a decision variable in a cell with a formula, a cell reference, or text.
If a simulation runs before this subroutine is used, the simulation must be reset before the decision variable is defined.
Note: | Before calling this subroutine, reset the simulation and select a cell. |