Bonjour à tous,
Pour le deuxième point, que voulez-vous protéger ?
S'il s'agit d'une formule, vous pouvez essayer avec 2 évènements, en attendant meilleure solution :
'AU TOUT DEBUT D'UN MODULE NORMAL
Public formules(), r as range
'MODULE DE LA FEUILLE EN QUESTION
Private Sub worksheet_selectionchange(ByVal target As Range)
Set r = Intersect(target, Columns(1)) '<<< ADAPTER COLONNE EN QUESTION
If Not r Is Nothing Then
If Application.CutCopyMode Then Application.CutCopyMode = False
ReDim formules(1 To r.Cells.Count)
For Each cell In r.Cells
i = i + 1
formules(i) = cell.Formula
Next cell
End If
End Sub
'MODULE DE LA FEUILLE EN QUESTION
Private Sub worksheet_change(ByVal target As Range)
If Not r Is Nothing Then
For Each cell In r.Cells
i = i + 1
Application.EnableEvents = False
cell.Formula = formules(i)
Application.EnableEvents = True
Next cell
End If
End Sub
Ca ne marche malheureusement pas contre la méthode autofill et la seule alternative que j'imagine serait trop lourde...
Cdlt,