1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
   | Sub Macro1()
 
    Sheets("Feuil1").Select
    Columns("A:K").Select
    Columns("A:K").EntireColumn.AutoFit
    Range("A1:K1").Select
    With Selection
        .HorizontalAlignment = xlCenter
        .VerticalAlignment = xlBottom
        .WrapText = False
        .Orientation = 0
        .AddIndent = False
        .ShrinkToFit = False
        .MergeCells = False
    End With
    With Selection.Font
        .Name = "Arial"
        .Size = 14
        .Strikethrough = False
        .Superscript = False
        .Subscript = False
        .OutlineFont = False
        .Shadow = False
        .Underline = xlUnderlineStyleNone
        .ColorIndex = xlAutomatic
    End With
    With Selection.Interior
        .ColorIndex = 15
        .Pattern = xlSolid
    End With
    ActiveWindow.SmallScroll Down:=0
    Range("A104").Select
    ActiveWindow.SmallScroll Down:=-46
    Range("D61").Select
    ActiveWindow.SmallScroll Down:=-11
    ActiveWindow.LargeScroll Down:=-2
    Range("A1:K12017").Select
    ActiveWorkbook.Names.Add Name:="Base", RefersToR1C1:= _
        "=Adresses!R1C1:R101C7"
    Selection.Sort Key1:=Range("E2"), Order1:=xlAscending, Key2:=Range("F2") _
        , Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
        False, Orientation:=xlTopToBottom
    ActiveSheet.ShowDataForm
End Sub |