Hiding a check box from forms

G

Guest

How can I use option buttons from forms to hide then unhide a check box from
forms? Thoughts?
 
G

Guest

If the check box is on a worksheet these commands work
Worksheets("Sheet1").Shapes("Check Box 1").Visible = False

Worksheets("Sheet1").Shapes("Check Box 1").Visible = True

If the check box is on a uses form in VBA use this format.

UserForm1.CheckBox1.Visible = False
UserForm1.CheckBox1.Visible = True
 

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