CB.DefineDecVarND Example 1

This example defines a new decision variable in cell C9 with a lower bound of 400, an upper bound of 600, a step size of 10 (also making the decision variable Discrete), and a title of Rent Per Unit.

Range("C9").Select
CB.DefineDecVarND 400, 600, 10, "Rent Per Unit"

This definition is the same except the decVarType parameter is used:

Range("C9").Select
CB.DefineDecVarND 400, 600, 10, "Rent Per Unit", cbDecVarTypeDiscrete