I want the user to be able to clear the screen by using a command button, but I can't seem to get the code right for the checkboxes. Also, when a checkbox is deselected, it won't take the value it was assigned away. If the checkbox is selected again, it just adds more to the value. Can anybody help? Please and thank-you in advance.
This is my code for the checkboxes:
'If checked add dollar amount to total
If chkHotTub.Value = vbChecked Then
curHotTub = 25
Else
curHotTub = 0
End If
This is my code for the checkboxes:
'If checked add dollar amount to total
If chkHotTub.Value = vbChecked Then
curHotTub = 25
Else
curHotTub = 0
End If