Sub Standings()
'
' Standings Macro
'
'
Range("AO3:AO6,AQ3:AV6").Select
Range("AQ3").Activate
Selection.Copy
Range("AX3").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY3:AY6"), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption _
:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD3:BD6"), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption _
:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX3:BD6")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO8:AO11,AQ8:AV11").Select
Range("AQ8").Activate
Selection.Copy
Range("AX8").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY8:AY11"), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption _
:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD8:BD11"), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption _
:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX8:BD11")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO13:AO16,AQ13:AV16").Select
Range("AQ13").Activate
Selection.Copy
Range("AX13").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY13:AY16"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD13:BD16"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX13:BD16")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO18:AO21,AQ18:AV21").Select
Range("AQ18").Activate
Selection.Copy
Range("AX18").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY18:AY21"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD18:BD21"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX18:BD21")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO23:AO26,AQ23:AV26").Select
Range("AQ23").Activate
Selection.Copy
Range("AX23").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY23:AY26"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD23:BD26"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX23:BD26")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO28:AO31,AQ28:AV31").Select
Range("AQ28").Activate
Selection.Copy
Range("AX28").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY28:AY31"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD28:BD31"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX28:BD31")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO33:AO36,AQ33:AV36").Select
Range("AQ33").Activate
Selection.Copy
Range("AX33").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY33:AY36"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD33:BD36"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX33:BD36")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("AO38:AO41,AQ38:AV41").Select
Range("AQ38").Activate
Selection.Copy
Range("AX38").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("AY38:AY41"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("League Calculation").Sort.SortFields.Add2 Key:= _
Range("BD38:BD41"), SortOn:=xlSortOnValues, Order:=xlDescending, _
DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("League Calculation").Sort
.SetRange Range("AX38:BD41")
.Header = xlGuess
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("T43").Select
End Sub