Additon textbox vba
Résolu
titoune
-
titoune -
titoune -
A voir également:
- Additon textbox vba
- Excel compter cellule couleur sans vba - Guide
- Find vba - Astuces et Solutions
- Incompatibilité de type vba ✓ - Forum VB / VBA
- Mkdir vba ✓ - Forum VB / VBA
- Erreur 13 incompatibilité de type VBA excel ✓ - 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+.
je ne mettais pas le code au bon endroit donc ça ne pouvait pas marcher lol
merci