Sub ChangeCasse()
Dim Cellule As Range
For Each Cellule In Selection
' ne s'applique pas aux formules
If Not (Cellule.HasFormula) Then
If Cellule = UCase(Cellule) Then
' passe en minuscule
Cellule = LCase(Cellule)
Else
If Cellule = LCase(Cellule) Then
' passe en NomPropre
Cellule = Application.Proper(Cellule)
Else
' passe en majuscule
Cellule = UCase(Cellule)
End If
End If
End If
Next
End Sub