Bonjour le forum
Lorsque je Double Click sur cellule A2 ça affiche la date du jour!!!
Dans cellule A2 il y a le mot DATE et elle est formatée en standard...mais lorsque je Double Click ça fait le "boulot" mais ça affiche la date du jour!!
Cordialement
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Count > 1 Then Exit Sub
If Not Target.Comment Is Nothing Then
If Not Intersect(Target, [A2]) Is Nothing Then
Call AfficherMasquerJoursFeries
End If
' End If
If Target.Column = 1 Then Target.Value = Date: Cancel = True
If Not Intersect(Range("C3:C" & Range("A" & Rows.Count).End(xlUp).Row), Target) Is Nothing Then
Cancel = True
Target = IIf(Target = "INR", "", "INR")
ElseIf Not Intersect(Range("B3:B" & Range("A" & Rows.Count).End(xlUp).Row), Target) Is Nothing Then
Cancel = True
Target = IIf(Target = 1, "", 1)
Cancel = True
End If
End If
End Sub