projecttoday
Programmer
I have a datasheet subform on a form. When the user clicks on one of the cells on the datasheet, how do I or what event do I use to trap the click and determine which cell has been clicked?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]Private Sub [purple][b]TextboxName1[/b][/purple]_Click()
Call PrintName("TextboxName1")
End Sub
Private Sub [purple][b]TextboxName2[/b][/purple]_Click()
Call PrintName("TextboxName2")
End Sub
Public Sub PrintName(Nam As String)
Debug.Print Nam
End Sub[/blue]