Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
If Left(UCase(Sh.[G1]), 7) <> "PRODUIT" Or Target.Row < 6 Or Target.Column <> 5 Then Exit Sub
Cancel = True
Target.Interior.Color = RGB(189, 215, 238)
End Sub
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
If Left(UCase(Sh.[G1]), 7) <> "PRODUIT" Or Target.Row < 6 Or Target.Column <> 5 Then Exit Sub
Cancel = True
Target.Interior.ColorIndex = xlNone
End Sub