Function numerologie(target As Range) As Integer
Dim x As Integer, i As Integer, cel As Range
If target.Count = 1 Then
For i = 1 To Len(target)
Select Case UCase(Mid(target, i, 1))
Case "A"
x = 1
Case "U"
x = 3
Case "E"
x = 5
Case "O"
x = 6
Case "Y"
x = 7
Case "I"
x = 9
Case Else
x = 0
End Select
numerologie = numerologie + x
Next
Else
For Each cel In target
Select Case UCase(Left(cel, 1))
Case "A", "J", "S"
x = 1
Case "B", "K", "T"
x = 2
Case "U", "C", "L"
x = 3
Case "D", "M", "V"
x = 4
Case "E", "N", "W"
x = 5
Case "O", "F", "X"
x = 6
Case "G", "P", "Y"
x = 7
Case "H", "Q", "Z"
x = 8
Case "I", "R"
x = 9
Case Else
x = 0
End Select
numerologie = numerologie + x
Next
End If
End Function