anthoYS
XLDnaute Barbatruc
Bonjour
Qu'est-ce qui cloche avec mon code ?
Merci
Qu'est-ce qui cloche avec mon code ?
VB:
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
With Target
If .Column = 24 Then
Cancel = True
If .Comment Is Nothing Then
.AddComment
.Comment.Shape.Width = 104.5
.Comment.Shape.Height = 110.6
.Comment.Shape.TextFrame.Characters.Font.Bold = True
End If
SendKeys "%im"
End If
Cancel = True
End Sub
Merci