Voilà ces deux macro :
Private Sub Worksheet_Calculate()
Range("B2:B10").Select
Selection.Copy
Range("A2:A10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Range("A2:A1000").Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End Sub
Ces deux macros marchent indépendamment
Comment fait-on pour les fusionner ?
Merci