This function returns specified settings made by CB.DecisionTableND or the Decision Table tool.
Table 107. CB.GetDecisionTableOption Parameters
Parameter | Required? | VBA Data Type | Table |
---|---|---|---|
Index | Required | Integer | |
Index2 | Optional | Integer |
Table 108. CB.GetDecisionTableOption Index Parameter – Required, Integer
Table 109. CB.GetDecisionTableOption Index2 Parameter – Optional, Integer
Named Constant Value | Index Value | Description |
---|---|---|
cbDecVar1 | 1 | Used with cbDecGetDecVar to return the address of the first selected decision variable in the format: '[workbook]sheet'!$A$1 |
cbDecVar2 | 2 | Used with cbDecGetDecVar to return the address of the second selected decision variable in the format: '[workbook]sheet'!$A$1 |
cbDecNumValuesVar1 | 1 | Used with cbDecSimOption to return the number of test values to use for the first selected decision variable |
cbDecNumValuesVar2 | 2 | Used with cbDecSimOption to return the number of test values to use for the second selected decision variable |
cbDecSimTrials | 3 | Used with cbDecSimOption to return the maximum number of trials for each simulation |