Bonjour,
Peut-être comme cela
Option Explicit
Public Sub Numerologie()
Dim Jour As Integer
Dim Mois As Integer
Dim An As Integer
Dim Somme As Integer
Dim Somme2 As Integer
Dim Somme3 As Integer
[A1:B3].ClearContents
Jour = Application.InputBox("Quel est votre jour de naissance? (en chiffre)", , , , , , , 1)
Mois = Application.InputBox("Quel est votre mois de naissance? (en chiffre)", , , , , , , 1)
An = Application.InputBox("Quel est votre année de naissance? (en chiffre)", , , , , , , 1)
Somme = Jour + Mois + An
MsgBox Somme
[A1] = Jour & "+" & Mois & "+" & An
[B1] = Somme
Somme2 = Val(Mid(Somme, 1, 1)) + Val(Mid(Somme, 2, 1)) + Val(Mid(Somme, 3, 1)) + Val(Mid(Somme, 4, 1))
MsgBox Somme2
[A2] = Val(Mid(Somme, 1, 1)) & "+" & Val(Mid(Somme, 2, 1)) & "+" & Val(Mid(Somme, 3, 1)) & "+" & Val(Mid(Somme, 4, 1))
[B2] = Somme2
Somme3 = Val(Mid(Somme2, 1, 1)) + Val(Mid(Somme2, 2, 1))
MsgBox (Somme3)
[A3] = Val(Mid(Somme2, 1, 1)) & "+" & Val(Mid(Somme2, 2, 1))
[B3] = Somme3
End Sub
Bonne journée