This event occurs immediately before the currently active cell changes to a different cell.
Private Sub grid_LeaveCell( )
The LeaveCell event does not occur when the focus moves to a different control.