Paste this sub in a module
Public Sub ChangeColor(Contr$)
Dim ctr As Control
Const ActiveColor = 255 'red
Const IdleColor = 0 'black
On Error Resume Next
For Each ctr In Screen.ActiveForm
If ctr.Name = Contr Then
ctr.BackColor = ActiveColor
Else
ctr.BackColor = IdleColor
End If
Next
End Sub
This code in form's module:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ChangeColor (""

End Sub
and for each text box that you want to highlight:
Private Sub ControlName_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ChangeColor ("ControlName"

End Sub
This is close to what you need...
Good luck
![[pipe] [pipe] [pipe]](/data/assets/smilies/pipe.gif)
Daniel Vlas
Systems Consultant
danvlas@yahoo.com