VBA retrieve object name in Access form

Joined
Apr 7, 2012
Messages
1
Reaction score
0
I'm trying to use vba to retrieve the name of a rectangle object that a user might click on in an Access form. I know how to use "Screen.ActiveObject" to retrieve the name of a text box a user clicks on, but this doesn't seem to work for rectangle objects. There might be 50 rectangles on a given form, and I want to retrieve and store the name of whichever one the user clicks on. Is this possible?
 
Back
Top