How to return qualified active control name

J

justme

I am trying to figure out the true "path" of the active control. I have been
able to return the active form and control names separately by using:
MsgBox "control = " & Screen.ActiveForm.Name & ", " &
Screen.ActiveControl.Name
However, it doesn't seem like the real qulified name only involves the one
form name because when I reference the control using the form name and
control name, it does not respond. How can I find out the actual qualified
control name as the computer sees it?

Thanks!
 
M

Marshall Barton

justme said:
I am trying to figure out the true "path" of the active control. I have been
able to return the active form and control names separately by using:
MsgBox "control = " & Screen.ActiveForm.Name & ", " &
Screen.ActiveControl.Name
However, it doesn't seem like the real qulified name only involves the one
form name because when I reference the control using the form name and
control name, it does not respond. How can I find out the actual qualified
control name as the computer sees it?


What you got is what you, me and the computer sees.
How about you explain more about What you are trying to
accomplish, Where you need to do it and the names of the
objects as you expect them to appear along with what
actually was displayed,
 
Top