I have three check boxes and a text box. If I click the one of the check boxes I want the name of that check box to appear in the text box.
Printable View
I have three check boxes and a text box. If I click the one of the check boxes I want the name of that check box to appear in the text box.
Name or caption ???Quote:
Originally posted by pmr
I have three check boxes and a text box. If I click the one of the check boxes I want the name of that check box to appear in the text box.
VB Code:
Option Explicit Private Sub Check1_Click() Text1.Text = Check1.Name End Sub Private Sub Check2_Click() Text1.Text = Check2.Name End Sub Private Sub Check3_Click() Text1.Text = Check3.Name ' Check3.Caption End Sub