This example defines a new decision variable in cell F10 with a lower bound of 0, an upper bound of 1, no step size, a title of Net Income, and a decision variable type of Binary. The values of Min and Max are ignored for Binary decision variables, but they must be entered since they are required parameters for CB.DefineDecVarND. If a step size is entered for this decision variable type, it is ignored.
Range("F10").Select CB.DefineDecVarND 0, 1,, "Net Income", cbDecVarTypeBinary