Excel - Incompatibilité de type
Résolu/Fermé
tbeghain
Messages postés
58
Date d'inscription
mercredi 31 mars 2004
Statut
Membre
Dernière intervention
22 février 2021
-
19 janv. 2011 à 16:03
tbeghain Messages postés 58 Date d'inscription mercredi 31 mars 2004 Statut Membre Dernière intervention 22 février 2021 - 19 janv. 2011 à 16:27
tbeghain Messages postés 58 Date d'inscription mercredi 31 mars 2004 Statut Membre Dernière intervention 22 février 2021 - 19 janv. 2011 à 16:27
A voir également:
- Excel - Incompatibilité de type
- Liste déroulante excel - Guide
- Formule excel - Guide
- Si et excel - Guide
- Aller à la ligne excel - Guide
- Mise en forme conditionnelle excel - Guide
2 réponses
eriiic
Messages postés
24571
Date d'inscription
mardi 11 septembre 2007
Statut
Contributeur
Dernière intervention
8 mai 2024
7 216
19 janv. 2011 à 16:22
19 janv. 2011 à 16:22
Bonjour,
Ton code modifié :
eric
Ton code modifié :
Private Sub Worksheet_Change(ByVal Target As Range) If Not Target Is Nothing And Target.Cells.Count = 1 Then Select Case Target.Value Case "Pas d'info" Target.Interior.ColorIndex = 35 Case "En attente" Target.Interior.ColorIndex = 34 Case "En cours" Target.Interior.ColorIndex = 36 Case "Ne fonctionne pas" Target.Interior.ColorIndex = 3 Case "Annulé" Target.Interior.ColorIndex = 40 Case "Terminé" Target.Interior.ColorIndex = 4 End Select End If End Sub
eric
tbeghain
Messages postés
58
Date d'inscription
mercredi 31 mars 2004
Statut
Membre
Dernière intervention
22 février 2021
3
19 janv. 2011 à 16:27
19 janv. 2011 à 16:27
Merci beaucoup, ça va beaucoup mieux.