By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 1,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

check boxm in vb

P: 1
if i want to get the check box value like we get the option value by "option1.value=true/false" then how can i get and what code i have to write to get the value of check box,plz reply.
Jul 7 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 8,127
Is the Value property not there for the CheckBox control.
Jul 7 '08 #2

Expert 100+
P: 1,445

Try this :

Expand|Select|Wrap|Line Numbers
  1. If Chk1.Value = vbChecked Then
  2.     MsgBox "Checked"
  3. Else
  4.     MsgBox "Not Checked"
  5. End If
Jul 8 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.