disable check box

P

Paul

I have a form with two check boxes. I need to diable the
2nd box if the 1st box has been checked. Please help.

Thanks,
paul
 
P

Perry

If we're speaking about a UserForm with textboxes, following
code sequence does what you want:

Me.CheckBox2.Enabled = Not Me.CheckBox1

Note: The enabled (boolean) property of CheckBox2 corresponds with the
opposite value of CheckBox1

Krgrds,
Perry
 

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