Reputation: 23275
If I have a CheckBox control called chkTest, what would be an accurate way to assign its state to a boolean variable?
chkTest
Dim blnResult As Boolean blnResult = [insert code here]
Upvotes: 2
Views: 3025
Dim blnResult As Boolean blnResult = chkTest = vbChecked