Use the ActiveControl property of the form, eg:

MsgBox Me.ActiveControl.Name