G
Guest
I have a useform with a checkbox routine in it. When the check box is not checked it will read Optional if the checkbox is checked I want to have the caption of the checkbox change to required. This works only after you have it the OK button. I want the caption to change with out hitting the OK button. How do you do this. I have seen this done but I cannot figure it our
TI
Private Sub bOk_Click(
With Me.CheckBox
If Me.CheckBox1.Value = True The
Me.CheckBox1.Caption = "Required
strto = "olrequired
Els
Me.CheckBox1 = Fals
Me.CheckBox1.Caption = "Optional
strto = "
End I
End Wit
MsgBox "" & strto 'for testing purposes onl
End Su
TI
Private Sub bOk_Click(
With Me.CheckBox
If Me.CheckBox1.Value = True The
Me.CheckBox1.Caption = "Required
strto = "olrequired
Els
Me.CheckBox1 = Fals
Me.CheckBox1.Caption = "Optional
strto = "
End I
End Wit
MsgBox "" & strto 'for testing purposes onl
End Su