Get the control on the form with the highest tab index.Control must be visible, have a tab stop, and be enabled.
The target form
Set c = GetLastVisibleControl(Me)