This is the CODE that I have:
Columns("A:E").Select
Selection.Copy
Range("H1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
activesheet.Range("$H$1:$L$5000").AutoFilter Field:=1, Criteria1:="="
Range("H2").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.ClearContents
activesheet.Range("$H$1:$L$5000").AutoFilter Field:=1
activesheet.Range("$H$1:$L$5000").AutoFilter Field:=2, Criteria1:="="
Range("I2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
activesheet.Range("$H$1:$L$5000").AutoFilter Field:=2
Range("H:H,I:I").Select
Range("I1").Activate
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.FormulaR1C1 = "=R[-1]C"
Range("H1").Select
ActiveCell.FormulaR1C1 = " "
Range("I1").Select
ActiveCell.FormulaR1C1 = " "
Columns("H:L").Select
Columns("H:L").Copy
Columns("H:L").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Range("J2").Select
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=3, Criteria1:="="
Range("H2:I2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=3
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=3, Criteria1:="="
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=4, Criteria1:="<>"
Range("K2:L2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=4
activesheet.Range("$H$1:$L$1048354").AutoFilter Field:=3
Range("H1").Select
ActiveCell.FormulaR1C1 = "Group"
Range("I1").Select
ActiveCell.FormulaR1C1 = "GL"
Range("I2").Select