May 16, 2002 #1 vincelewin IS-IT--Management Joined May 16, 2002 Messages 83 Location GB Is it possible to have a tick box that will enable text boxes? If so could somone show me how to do it?
Is it possible to have a tick box that will enable text boxes? If so could somone show me how to do it?
May 16, 2002 #2 Jon4747 Programmer Joined Aug 22, 2001 Messages 234 Location CA Hi, Private Sub Check1_Click() If Check1.Value = 1 Then Text1.Enabled = True End If End Sub Jon Upvote 0 Downvote
May 16, 2002 1 #3 Dazz22 Programmer Joined May 3, 2002 Messages 13 Location GB Hi. The checkbox should have a click event so try this.. private sub Check1_Click() if check1.value = 1 then 'checked text1.enabled = true else text1.enabled = false end if end sub Before you begin, set the text box's enabled property to false. Hope this helps. Upvote 0 Downvote
Hi. The checkbox should have a click event so try this.. private sub Check1_Click() if check1.value = 1 then 'checked text1.enabled = true else text1.enabled = false end if end sub Before you begin, set the text box's enabled property to false. Hope this helps.
May 16, 2002 #4 strongm MIS Joined May 24, 2001 Messages 20,264 Location GB Or [tt] Private Sub Check1_Click() Text1.Enabled = (Check1 = vbChecked) End Sub Upvote 0 Downvote