Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.CountLarge = 1 And Target.Column = 3 Then
Target.Offset(0, 1).Formula = "=Right(""" & Target & """,5)"
Target.Offset(0, 1) = Target.Offset(0, 1)
End If
End Sub