Excel - Le_code_pour_donner_une_couleur_de_fond_à_une_cellule_suivant_sa_valeur_?

Asked By Kerry on 22-May-12 04:33 PM
Bonsoir,

J'ai le code suivant dans un IF...THEN qui ne fonctionne pas !

Feuil1.Cells(rwIndex, colIndex).ColorIndex = 3

Pourriez-vous m'aider, SVP ?

Je vous remercie !

Cordialement,

Kerry


DanielCo replied to Kerry on 22-May-12 04:58 PM
Bonsoir,
Feuil1.Cells(rwIndex, colIndex).Interior.ColorIndex = 3
Cordialement.
Daniel