Bonjour,
comment on fait pour colorer une case qui repond a une condition : j'ai essayé cette solution, mais ca ne marche pas :
qu'est ce qui va pas dans mon code???
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 Sub format_cellule() For Each Cell In Range("F1:F20") If Cell.Value Like "[A-Z]###" Then 'MsgBox "Non" Else: Cell.Value.Interior.ColorIndex = 3 End If Next Cell End Sub
Merci pas avance
Partager