Occurs immediately before the currently active cell changes to a different cell.
Private Sub object_LeaveCell ()
The object placeholder represents an object expression that evaluates to an object.
This event is useful for validating a cell's contents. The LeaveCell event is not triggered when the focus moves to a different control.