Hello,
I am getting Missing Parameter on line 3 and
Syntax error on line 4
I have tried every combination of parenthesis and putting the variable name in the case statements. No joy.
Any ideas?
I am getting Missing Parameter on line 3 and
Syntax error on line 4
I have tried every combination of parenthesis and putting the variable name in the case statements. No joy.
Any ideas?
Code Sample:
Sub BehaviorCheck
Private D As Byte
Select Case D
Case < 6 'Passive
ActionTable2Modifier = ActionTable2Modifier - 2
Case < 11 'Moderate
'ActionTable2Modifier does Not change.
Case < 16 'Active
ActionTable2Modifier = ActionTable2Modifier + 2
Case > 15 'Agressive
ActionTable2Modifier = ActionTable2Modifier + 4
End Select
End Sub