Bonjour à tous,
Une autre solution :
Sub Nom_Date()
Dim I As Integer
Dim MonUserSansCaracteresSpeciaux
Dim MonNomPrenom As Variant
MonUserSansCaracteresSpeciaux = ""
With ActiveCell
For I = 1 To Len(Application.UserName)
Select Case Mid(Application.UserName, I, 1)
Case ",", "/" ' Ajouter les caractères à écarter
Case Else
MonUserSansCaracteresSpeciaux = MonUserSansCaracteresSpeciaux & Mid(Application.UserName, I, 1)
End Select
Next I
MonNomPrenom = Split(MonUserSansCaracteresSpeciaux, " ")
.Value = MonNomPrenom(0) & " " & MonNomPrenom(1)
.Offset(0, 1) = Format(Date, "dd mm yyyy")
End With
End Sub