Which control has the focus?

C

Carol Grismore

Is there a straightforward way to determine which control in a form has the
focus?
 
D

Duane Hookom

Dim ctl As Control
Dim strCtlName as String
set ctl = screen.ActiveControl
strCtlName = ctl.Name
 
Top