Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("A2:XX25")) Is Nothing Then
colonne = Target.Column
Cancel = True
If .Comment Is Nothing Then
.AddComment
.Comment.Shape.Width = 104.5
.Comment.Shape.Height = 22.6
.Comment.Shape.TextFrame.Characters.Font.Bold = True
End If
SendKeys "%im"
End If
If Not Intersect(Target, Range("B29:XX40")) Is Nothing Then
colonne = Target.Column
Target.Interior.ColorIndex = 4
End If
End With
Cancel = True
End Sub