CB.DefineDecVarND Example 2

This example defines a new decision variable in cell D12 with a lower bound of 500, an upper bound of 800, no step size (also defining the decision variable as Continuous), and a title of Net Income.

Range("D12").Select
CB.DefineDecVarND 500, 800,, "Net Income"

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

Range("D12").Select
CB.DefineDecVarND 500, 800,, "Net Income", cbDecVarTypeContinuous