A voir également:
- Cocher une cellule excel
- Liste déroulante excel - Guide
- Proteger cellule excel - Guide
- Excel cellule couleur si condition texte - Guide
- Déplacer une colonne excel - Guide
- Aller à la ligne dans une cellule excel - Guide
3 réponses
Salut,
avec un code VBA sur ta feuille
Voici un exemple que je t'ai fait http://www.cijoint.fr/cjlink.php?file=cj200911/cij9oLCLY0.xls
À noter que la plage A2:A10 porte le nom de "cocher"
avec un code VBA sur ta feuille
Private Sub worksheet_beforedoubleclick(ByVal target As Range, cancel As Boolean)
If Intersect(Range("cocher"), target) Is Nothing Then Exit Sub
If IsEmpty(target) Then
target = "x"
cancel = True
Else
If target = "x" Then
target = ""
cancel = True
End If
End If
End Sub
Voici un exemple que je t'ai fait http://www.cijoint.fr/cjlink.php?file=cj200911/cij9oLCLY0.xls
À noter que la plage A2:A10 porte le nom de "cocher"