Sub Track_Name(ByVal Target As Range)
ActiveSheet.Unprotect Password:="ken"
With Target
If .Count > 1 Then Exit Sub
If Not Intersect(Range("V9:V306"), .Cells) Is Nothing Then
Application.EnableEvents = False
If IsEmpty(.Value) Then
.Offset(0, 5).ClearContents
Else
With .Offset(0, 5)
'.NumberFormat = "dd mmm yy"
.Value UNameWindows = Environ("USERNAME")
End With
End If
Application.EnableEvents = True
End If
End With
ActiveSheet.Protect Password:="ken"
End Sub
.Value UNameWindows = Environ("USERNAME")
.Value = Environ("USERNAME")
.Value = application.UserName