Sub FormatSetup()
'
' FormatSetup Macro
'
'
Range("A1:AB1").Select
Selection.AutoFilter
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Columns("A:A").ColumnWidth = 9.57
Columns("K:K").ColumnWidth = 9.57
Columns("P:P").ColumnWidth = 9.43
Columns("R:R").ColumnWidth = 9.71
ActiveWindow.ScrollColumn = 2
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 5
ActiveWindow.ScrollColumn = 6
ActiveWindow.ScrollColumn = 7
ActiveWindow.ScrollColumn = 8
ActiveWindow.ScrollColumn = 9
ActiveWindow.ScrollColumn = 10
ActiveWindow.ScrollColumn = 11
Columns("Q:Q").ColumnWidth = 17
Columns("Q:Q").ColumnWidth = 27
Columns("S:S").ColumnWidth = 16.29
Columns("S:S").ColumnWidth = 18.57
Columns("U:U").ColumnWidth = 10.86
ActiveWindow.ScrollColumn = 12
ActiveWindow.ScrollColumn = 13
ActiveWindow.ScrollColumn = 14
Columns("X:X").ColumnWidth = 10.71
Columns("Y:Y").ColumnWidth = 9.14
Columns("Z:Z").ColumnWidth = 10.14
Columns("AB:AB").ColumnWidth = 9.43
ActiveWindow.ScrollColumn = 13
ActiveWindow.ScrollColumn = 12
ActiveWindow.ScrollColumn = 11
ActiveWindow.ScrollColumn = 10
ActiveWindow.ScrollColumn = 8
ActiveWindow.ScrollColumn = 6
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 1
With ActiveWindow
.SplitColumn = 0
.SplitRow = 1
End With
ActiveWindow.FreezePanes = True
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=8, Criteria1:="1"
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=12, Criteria1:="1"
Range("A1:AB15238").Select
Range("A517").Activate
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 13434828
.TintAndShade = 0
.PatternTintAndShade = 0
End With
ActiveWindow.ScrollColumn = 14
ActiveWindow.ScrollColumn = 13
ActiveWindow.ScrollColumn = 12
ActiveWindow.ScrollColumn = 11
ActiveWindow.ScrollColumn = 10
ActiveWindow.ScrollColumn = 8
ActiveWindow.ScrollColumn = 6
ActiveWindow.ScrollColumn = 5
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 2
ActiveWindow.ScrollColumn = 1
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=8, Criteria1:="0"
Range("A1:AB15238").Select
Range("A994").Activate
With Selection.Interior
.PatternColorIndex = xlAutomatic
.Color = 16764159
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("S994:S1172").Select
ActiveWindow.ScrollColumn = 14
ActiveWindow.ScrollColumn = 13
ActiveWindow.ScrollColumn = 12
ActiveWindow.ScrollColumn = 10
ActiveWindow.ScrollColumn = 9
ActiveWindow.ScrollColumn = 8
ActiveWindow.ScrollColumn = 7
ActiveWindow.ScrollColumn = 6
ActiveWindow.ScrollColumn = 5
ActiveWindow.ScrollColumn = 4
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 2
ActiveWindow.ScrollColumn = 1
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=8, Criteria1:="1"
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=12, Criteria1:="0"
Range("A1:AB15238").Select
Range("A1002").Activate
With Selection.Interior
.PatternColorIndex = xlAutomatic
.Color = 10092543
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A1:AB1").Select
Range("AB1").Activate
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=8
ActiveSheet.Range("$A$1:$AB$15238").AutoFilter Field:=12
ActiveWindow.ScrollRow = 998
ActiveWindow.ScrollRow = 967
ActiveWindow.ScrollRow = 904
ActiveWindow.ScrollRow = 780
ActiveWindow.ScrollRow = 624
ActiveWindow.ScrollRow = 344
ActiveWindow.ScrollRow = 126
ActiveWindow.ScrollRow = 2
End Sub