1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Sub TRI()
'
' TRI Macro
' Macro recorded 20/09/2004 by GEORGES Jean-François
'
' Keyboard Shortcut: Ctrl+Shift+T
'
Sheets("Récap. H").Select
Cells.Replace What:="F.G.", Replacement:="-1", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("A4:B15").Select
Selection.Sort Key1:=Range("B4"), Order1:=xlDescending, Key2:=Range("A4") _
, Order2:=xlAscending, Header:=xlNo, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, DataOption1:=xlSortNormal, DataOption2:= _
xlSortNormal
end sub |