Patty et Dhany Merci pour vos propositions
c'est exactement cela
Avec votre proposition je me suis étendu sur Plage interactif Ancienne couleur et nouvelle couleur également
Sub Couleur_Fond_AuChoix()
Dim Plg As Range
Dim Cel As Range
Dim OldColor As Long
Dim NewColor As Long
On Error Resume Next
Set Plg = Application.InputBox("Sélectionnez la plage de travail :", Type:=8)
If Plg Is Nothing Then MsgBox "Opération annulée": Exit Sub
Set Cel = Application.InputBox("Sélectionnez la couleur d'une cellule :", Type:=8)
If Cel.Count <> 1 Then MsgBox "Opération annulée": Exit Sub
OldColor = Cel.INTERIOR.Color
Set Cel = Nothing
Set Cel = Application.InputBox("Sélectionnez une nouvelle couleur :", Type:=8)
If Cel.Count <> 1 Then MsgBox "Opération annulée": Exit Sub
On Error GoTo 0
NewColor = Cel.INTERIOR.Color
For Each Cel In Plg
With Cel.INTERIOR
If .Color = OldColor Then .Color = NewColor
End With
Next Cel
Set Plg = Nothing
Set Cel = Nothing
End Sub