Trouver astuce code vba
Résolu/Fermé
A voir également:
- Trouver astuce code vba
- Trouver adresse mac - Guide
- Code asci - Guide
- Code puk bloqué - Guide
- Code telephone oublié - Guide
- Code activation windows 10 - Guide
2 réponses
Frenchie83
Messages postés
2240
Date d'inscription
lundi 6 mai 2013
Statut
Membre
Dernière intervention
11 août 2023
338
28 févr. 2015 à 08:13
28 févr. 2015 à 08:13
Bonjour
Si aucun des choix ne correspond, alors on pointe sur la feuille "ERREUR"
cdlt
If box_mesure = "- de 1,70 M" And box_cheveux = "BRUN-NOIR" And box_yeux = "NOISETTE" And box_age = "22 ANS" Then 'aller sur la bonne feuille Sheets("BENJI").Select ElseIf box_mesure = "= 1,75 M" And box_cheveux = "BRUN-NOIR" And box_yeux = "BLEU" And box_age = "28 ANS" Then 'aller sur la bonne feuille Sheets("FLORENT").Select ElseIf box_mesure = "+ de 1,80 M" And box_cheveux = "CHATAIN" And box_yeux = "VERT" And box_age = "21 ANS" Then 'aller sur la bonne feuille Sheets("RAPHAEL").Select Else 'aller sur la feuille "ERREUR" Sheets("ERREUR").Select End If
Si aucun des choix ne correspond, alors on pointe sur la feuille "ERREUR"
cdlt
28 févr. 2015 à 16:12