If then
Fermé
Jules Laflamme
-
4 févr. 2005 à 13:21
laf1935 Messages postés 4 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 2 septembre 2023 - 4 févr. 2005 à 17:35
laf1935 Messages postés 4 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 2 septembre 2023 - 4 févr. 2005 à 17:35
A voir également:
- If then
- The realtek network controller was not found. if deep sleep mode is enabled please plug the cable ✓ - Forum Pilotes (drivers)
- Please remove the installation medium then press enter - Forum Ubuntu
- Connexion messenger if - Guide
- If not exist batch ✓ - Forum Autoit / batch
- Invalid system disk replace the disk and then press any key - Forum Windows
2 réponses
random
Messages postés
1612
Date d'inscription
vendredi 26 novembre 2004
Statut
Membre
Dernière intervention
30 mars 2006
155
4 févr. 2005 à 14:05
4 févr. 2005 à 14:05
x n'est pas defini à rajouter option explicit
Private Sub lblAchat_Click()
Dim a As Currency
Dim b As Currency
dim x as integer
a=0
For x = 1 To 10
b = InputBox("achat")
rem que se passe t'il si un abruti saisit "trop cher" à la place du montant de l'achat ?
a = a + b
If b = 0
Then
Label1.Caption = a
exit for
End If
next x
end sub
Next x
Private Sub lblAchat_Click()
Dim a As Currency
Dim b As Currency
dim x as integer
a=0
For x = 1 To 10
b = InputBox("achat")
rem que se passe t'il si un abruti saisit "trop cher" à la place du montant de l'achat ?
a = a + b
If b = 0
Then
Label1.Caption = a
exit for
End If
next x
end sub
Next x
laf1935
Messages postés
4
Date d'inscription
vendredi 4 février 2005
Statut
Membre
Dernière intervention
2 septembre 2023
4 févr. 2005 à 17:35
4 févr. 2005 à 17:35
Je veux te remercier tu m'a dépris ça fonctionne et ça fait ce que je veux que ça fasse
C'est pratique d'avoir un connaisseur
Merci
C'est pratique d'avoir un connaisseur
Merci