checkBox help!!!

R

riggi

Hi,
I am trying to write this checkbox code, I dunno for some reason its
not working. Please tell me whats wrong in it. I will really
appreciate.

Thanks,

Riggi


Sub CheckBox1_Click()

If Checkbox1.Value = True Then
MsgBox (" Checked ")
Else
MsgBox ("unchecked")
End If
End Sub
 
B

Bob Phillips

It works fine if the checkbox is a control toolbox checkbox, and if you put
the code in that sheet code module.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top