LostFocus

This event occurs when an object loses the focus when a user initiates an action or when you change the focus in code using the SetFocus method.

Syntax

Private Sub object_LostFocus( )

object
Object expression that evaluates to a form or control.

Remarks

A LostFocus event procedure is useful primarily for verification and validation updates. You also can reverse or change conditions that you set in the object's GotFocus event procedure.