anthoYS
XLDnaute Barbatruc
Bonjour,
Vous voyez ?
Merci
à+
	
		
			
		
		
	
				
			En fait, j'ai ce code, il permet l'affichage d'un commentaire prêt à remplir par double clic GAUCHE.
Or je veux qu'un clic droit et UN SEUL donne se résultat :
Or je veux qu'un clic droit et UN SEUL donne se résultat :
code actuel :
	
	
	
	
	
		
		Code:
	
	
	Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)[/INDENT]
Cancel = True
With Target
   If .Column = 1 Then
        Cancel = True
        If .Comment Is Nothing Then
            .AddComment
            .Comment.Shape.Width = 250.5
            .Comment.Shape.Height = 55.75
        End If
        SendKeys "%im"
[INDENT=2]    End IfVous voyez ?
Merci
à+
 
	 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		