I have a frame in a form that has 12 check boxes in it. I would like to respond to a click within the frame in one place (DataSelectFrame_Click()). But I need to know which check box was clicked. If I have to just use the check box name then I am repeating the same code 12 times. I can't retrieve the name of the checkbox that was clicked. If I use Me.Activecontrol.Name I get the name of the frame. How do I get the name of the control within the frame?
I was working from this;
Thanks.![]()
Private Sub DataSelectFrame_Click() AddToArray (Right(Me.ActiveControl.Name, Len(Me.ActiveControl.Name) - 3)) End Sub
Bookmarks