Salut Ericp,
voici 2 macros pour ton problème.
SelectionChange : si tu cliques en [A1], toute la colonne A est traitée en 1 fois
Change : efface automatiquement toute valeur numérique dès validation de l'encodage.
Private Sub Worksheet_Change(ByVal Target As Range)
'
Application.EnableEvents = False
'
If Not Intersect(Target, Range("A:A")) Is Nothing Then
If IsNumeric(Target.Value) Then Target.Value = ""
End If
'
Application.EnableEvents = True
'
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'
If Target.Address = [A1].Address Then
Application.EnableEvents = False
Application.ScreenUpdating = False
'
For x = 1 To Range("A" & Rows.Count).End(xlUp).Row
If IsNumeric(Cells(x, 1)) Then Cells(x, 1) = ""
Next
'
Application.ScreenUpdating = True
Application.EnableEvents = True
End If
'
End Sub
A+
Bonjour Amadéus!
La place m'est heureuse à vous y rencontrer!