Alors voilà, j'ai ça et quand je rentre des chiffres, exemple :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Select Case Me.txtnompiece.Text ... Case "Profil Carrés" txtresu.Text = (txtlarg.Text + txthaut.Text) * (comface.Text) Case "Profil Rond" txtresu.Text = (txtlarg.Text * comface.Text) ... End Select
txtlarg = 100
txthaut = 100
comface = 2
ça devrai me faire (100 + 100) donc 200
200 * 2 = 400
Vous etes d'accord avec moi, je suis pas fou...
Bah en vb, ça me donne 100 + 100 * 2 = 200200
Si quelqu'un peux m'éclairer SVP![]()
Partager