Je cherche à faire une mise en forme conditionnelle de plus de 3 critères.
J'ai entendu parler d'une macro qui pourrait me permettre ce résultat.
Quelqu'un pour m'aider SVP?
D'avance merci
RGI
Bonjour
dans le genre
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) Select Case UCase(Target) 'UCASE = convertion de la frappe en majuscule Case "LOUIS" With Selection.Interior .ColorIndex = 7 .Pattern = xlSolid End With Case "GEORGES" With Selection.Interior .ColorIndex = 8 .Pattern = xlSolid End With Case "JEAN-PAUL" With Selection.Interior .ColorIndex = 3 .Pattern = xlSolid End With Case "PAUL" With Selection.Interior .ColorIndex = 6 .Pattern = xlSolid End With End Select End Sub
Salutations
RGI
Bonjour,
Je cherche à faire une mise en forme conditionnelle de plus de 3 critères.
J'ai entendu parler d'une macro qui pourrait me permettre ce résultat.
Quelqu'un pour m'aider SVP?
D'avance merci
Bonjour
dans le genre
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Select Case UCase(Target) 'UCASE = convertion de la frappe en majuscule
Case "LOUIS"
With Selection.Interior
.ColorIndex = 7
.Pattern = xlSolid
End With
Case "GEORGES"
With Selection.Interior
.ColorIndex = 8
.Pattern = xlSolid
End With
Case "JEAN-PAUL"
With Selection.Interior
.ColorIndex = 3
.Pattern = xlSolid
End With
Case "PAUL"
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
End Select
End Sub
Salutations
RGI
Bonjour,
Je cherche à faire une mise en forme conditionnelle de plus de 3 critères.
J'ai entendu parler d'une macro qui pourrait me permettre ce résultat.
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) Select Case UCase(Target) 'UCASE = convertion de la frappe en majuscule Case "LOUIS" With Selection.Interior .ColorIndex = 7 .Pattern = xlSolid End With Case "GEORGES" With Selection.Interior .ColorIndex = 8 .Pattern = xlSolid End With Case "JEAN-PAUL" With Selection.Interior .ColorIndex = 3 .Pattern = xlSolid End With Case "PAUL" With Selection.Interior .ColorIndex = 6 .Pattern = xlSolid End With End Select End Sub
Salutations
RGI
Bonjour,
Je cherche à faire une mise en forme conditionnelle de plus de 3 critères.
J'ai entendu parler d'une macro qui pourrait me permettre ce résultat.