PDA

View Full Version : Solved: Making CheckBox1 Selected By Default



Opv
06-16-2010, 07:43 AM
I have created a simple user form that contains two check boxes and a single text box. Is there a way to cause CheckBox1 to be selected by default when the user form is activated? I've tried:


CheckBox1.Default


I've also tried:


CheckBox1.Value = True


I've tried inserting the above code in the section for CheckBox, in the section for the Userform, as well as in the commandbutton code which calls the userform. Nothing seems to work.

Thanks,

Opv

Opv
06-16-2010, 08:13 AM
I figured it out. All I had to do is go into the properties for CheckBox1 and change the Value setting.