Since this is an off-topic thread and there seems to be a good amount of programmers here I thought id ask for a bit of assistance. Im trying to code 3 check boxes so when they are checked they will add x amount to an additionalCharges variable and then show the addition in a label. Then if they are unchecked they will subtract the addition canceling it out.
I tried and if then else statement that looked like this
If me.xgolfcheckbox.checked then
additionalCharges = additionalCharges + 25
else additionalCharges = additionalCharges -25
End If
What am I doing wrong. Not really looking for the right coding just and idea to point me in the right direction.
Connect With Us