Is there a way to add code to the LostFocus event of the cells in a sheet?
I want to add code to keep the first 50 characters of the cell that loses the focus:
If Len(ActiveCell.FormulaR1C1) > 50 Then
ActiveCell.FormulaR1C1 = Left$(ActiveCell.FormulaR1C1, 47) + "..."
End If