Home > How-To Library > Controls

How to Enable or disable the Text1 control when the user clicks on the Check1 CheckBox control.

**************************************************************** * © 2007 CodeItBetter http://www.codeitbetter.com * * This notice MUST stay intact for legal use * ****************************************************************
Private Sub Check1_Click() Text1.Enabled = (Check1.Value = vbChecked) End Sub

If you would like to submit your code here please us. Do not forget to mention your name. We are always thankful to each and everyone of you who submitted their code here.