Hiding a check box from forms

T

TDC

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

Joel

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
 
Top