VBA Problème de if dans une boucle for
Résolu/Fermé
A voir également:
- VBA Problème de if dans une boucle for
- Redmi note 10 redemarre en boucle - Forum Xiaomi
- Download instagram for pc - Télécharger - Divers Communication
- Erreur 1004 vba ✓ - Forum VB / VBA
- Vba ouvrir un fichier excel avec chemin ✓ - Forum VB / VBA
- Find vba - Astuces et Solutions
2 réponses
Bidouilleu_R
Messages postés
1181
Date d'inscription
mardi 27 mai 2008
Statut
Membre
Dernière intervention
12 juillet 2012
289
4 nov. 2010 à 15:53
4 nov. 2010 à 15:53
As-tu essayé comme ça?
For v = x To x - 20 Step -1 If Range("E" & v + 4).Value < achat * 0.95 Then Final = Range("E" & v + 4).Value Exit For Else If Range("K" & v + 3).Value < Range("K" & v + 4).Value * 0.975 Then Final = Range("E" & v + 3) Exit For Else End If End If Next