Dolu007 a écrit :
Columns("A:A" ).Select
Selection.Insert Shift:=xlToRight
Range("A1" ).Select
Application.CalculateFull
ActiveCell.FormulaR1C1 = "1"
Range("A3" ).Select
ActiveCell.FormulaR1C1 = "2"
Range("A5" ).Select
ActiveCell.FormulaR1C1 = "3"
Range("A1:A6" ).Select
Selection.AutoFill Destination:=Range("A1:A30000" ), Type:=xlFillDefault
Range("A1:A30000" ).Select
Cells.Select
Range("A30000" ).Activate
Selection.Sort Key1:=Range("A1" ), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
|