Additon textbox vba
Résolu/Fermé
A voir également:
- Additon textbox vba
- Excel compter cellule couleur sans vba - Guide
- Vba attendre 1 seconde ✓ - Forum VB / VBA
- Mkdir vba ✓ - Forum VB / VBA
- L'indice n'appartient pas à la sélection vba ✓ - Forum Programmation
- Autofill vba ✓ - Forum Excel
1 réponse
Bonjour,
Si la textBox qui doit recevoir le resultat s'appelle TextBoxResultat
A+.
Si la textBox qui doit recevoir le resultat s'appelle TextBoxResultat
Private Sub CheckBox8mannequin_Click() If CheckBox8mannequin = True Then TextBox8mannequin.Text = "120" Else TextBox8mannequin.Text = "" End If TextBoxResultat.Text=Str(Val(TextBox8mannequin.Text)+Val(TextBox9pendentif.Text)) End Sub Private Sub CheckBox9pendentif_Click() If CheckBox9pendentif = True Then TextBox9pendentif.Text = "100" Else TextBox9pendentif.Text = "" End If TextBoxResultat.Text=Str(Val(TextBox8mannequin.Text)+Val(TextBox9pendentif.Text)) End Sub
A+.
4 avril 2008 à 09:24
je ne mettais pas le code au bon endroit donc ça ne pouvait pas marcher lol
merci