I not sure what you want but I hope it helps...
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("X:X")) Is Nothing Then
If Target.Cells.Count = 1 Then ' stops the code looping
If LCase(Target.Value) = "termination n/a" Then
Cells(Target.Row, 17).Value = "001"
' ALSO copy the text in Cells(Target.Row, 13) then Paste it to Cells(Target.Row, 18)
' and add /001 after the text
Cells(Target.Row, 13).Copy Cells(Target.Row, 18)
Cells(Target.Row, 18) = Cells(Target.Row, 18) & "001"
Range("X" & Target.Row).ClearContents
End If
End If
End If
End Sub
Elio Fernandes
Bookmarks