je recherche des reponse afin d'avoir un filtre et une police plus grande
garder le curseur toujours en haut
a+
voici le code qui est dans la feuille 1
Option Explicit
Private Sub Worksheet_Change(ByVal R As Range)
If R.Count > 1 Then Exit Sub
If Intersect(R, Cells.SpecialCells(xlCellTypeAllValidation)) Is Nothing Then Exit Sub
'tout se passe en colonne où sont copiées les valeurs initiales
Cells(Columns(2).Find(R, , , xlWhole).Row, 2) = ""
Range("B10", Cells(Rows.Count, 2).End(xlUp)).Sort [B10], 1
End Sub
garder le curseur toujours en haut
a+
voici le code qui est dans la feuille 1
Option Explicit
Private Sub Worksheet_Change(ByVal R As Range)
If R.Count > 1 Then Exit Sub
If Intersect(R, Cells.SpecialCells(xlCellTypeAllValidation)) Is Nothing Then Exit Sub
'tout se passe en colonne où sont copiées les valeurs initiales
Cells(Columns(2).Find(R, , , xlWhole).Row, 2) = ""
Range("B10", Cells(Rows.Count, 2).End(xlUp)).Sort [B10], 1
End Sub